import { type Key } from 'react'; import type { DataTableRowExpansionProps } from './types'; export declare function useLastSelectionChangeIndex(recordIds: unknown[] | undefined): { lastSelectionChangeIndex: number; setLastSelectionChangeIndex: import("react").Dispatch>; }; export declare function useRowContextMenu(fetching?: boolean): { rowContextMenuInfo: { y: number; x: number; record: T; recordIndex: number; }; setRowContextMenuInfo: import("react").Dispatch>; }; export declare function useRowExpansion({ rowExpansion, records, idAccessor, }: { rowExpansion?: DataTableRowExpansionProps; records: T[] | undefined; idAccessor: string | ((record: T) => Key); }): { expandOnClick: boolean; isRowExpanded: (record: T) => boolean; expandRow: (record: T) => void; collapseRow: (record: T) => void; collapseProps: import("./types").DataTableRowExpansionCollapseProps; content: (record: T, recordIndex: number) => () => import("react").ReactNode; }; export declare function useRowExpansionStatus(open: boolean, transitionDuration?: number): { expanded: boolean; visible: boolean; };