import { ColumnConfig, DataListControls, ExpandRow, IdentifiableKeys, OnFilter, OnSort, RowChange } from '../types'; export declare function useListControls, Cols extends ColumnConfig[]>({ idKey, id, onQueryChange, onRowExpand, onRowSelect, expandedContent, }: DataListControls): { idKey: IdKey; prefixId: (affix: T) => string; onSelect: RowChange; onExpand: RowChange; onFilter: OnFilter; onResetQuery: () => void; onSort: OnSort; expandedContent: ExpandRow | undefined; expandable: boolean; selectable: boolean; }; interface Controls { idKey: any; expandedContent?: ExpandRow; prefixId: (affix: T) => string; onFilter: OnFilter; onSort: OnSort; onResetQuery: () => void; onSelect: RowChange; onExpand: RowChange; expandable: boolean; selectable: boolean; } export declare const ListControlContext: import("react").Context; export declare const useControlContext: () => Controls; export {};