import { TableColumnItem, TableFormatColumn, VirtualColumnConfig } from './use-table.type'; import React from 'react'; export interface UseColumnsProps { columns?: TableColumnItem[]; data?: Data[]; showCheckbox?: boolean; virtualColumn?: boolean | VirtualColumnConfig; scrollRef: React.RefObject; } export type RxpandHideColType = { hide?: boolean; type: 'expand' | 'row-expand'; render?: (data: any, index: number) => (() => React.ReactNode) | undefined; onClick?: (data: any, expand: boolean) => void; } | null; declare const useColumns: (props: UseColumnsProps) => { columns: TableFormatColumn[]; columnInfo: { handleScroll: (scrollInfo: { scrollLeft: number; }) => void; }; currentColIndex: number; expandHideCol: RxpandHideColType; }; export default useColumns; //# sourceMappingURL=use-table-columns.d.ts.map