import { RowConfig } from '../../../shared/types/table';
export declare const useTableExpand: <T>(initialExpandedIds?: (string | number)[]) => {
    expandedIds: (string | number)[];
    expandedCount: number;
    handleRowExpand: (row: RowConfig<T>) => void;
    expandRow: (rowId: string | number) => void;
    collapseRow: (rowId: string | number) => void;
    toggleRow: (rowId: string | number) => void;
    expandAll: (rows: RowConfig<T>[]) => void;
    collapseAll: () => void;
    isExpanded: (rowId: string | number) => boolean;
    applyExpandedState: (rows: RowConfig<T>[]) => RowConfig<T>[];
};
//# sourceMappingURL=useTableExpand.d.ts.map