import { TableExpandable } from '../../types';
export declare const useExpandable: <T>(expandable?: TableExpandable<T>) => {
    expandedRows: Record<string, true>;
    getChildren: ((item: T) => T[] | undefined) | undefined;
    isExpandable: boolean;
    onExpandedRow: ((parentRowId: string) => void) | undefined;
    setExpandedRows: import("react").Dispatch<import("react").SetStateAction<Record<string, true>>>;
};
//# sourceMappingURL=useExpandable.d.ts.map