import { Table } from '@tanstack/react-table';
import { SearchViewProps } from '../search-view';
interface DataTableContextProps<TData> {
    table: Table<TData>;
    searchViewProps?: Partial<Omit<SearchViewProps, "value" | "onChange">>;
}
declare const DataTableContext: import('react').Context<DataTableContextProps<any> | null>;
export declare function useDataTable<TData>(): DataTableContextProps<TData>;
export { DataTableContext };
