import { type Table as TanstackTable } from '@tanstack/react-table';
export interface DataTableContextValue<TData> {
    table: TanstackTable<TData>;
    isLoading: boolean;
    search: string;
    onSearchChange: (value: string) => void;
    totalCount?: number;
}
export declare const DataTableContext: import("react").Context<DataTableContextValue<unknown> | null>;
export declare function useDataTableContext<TData>(): DataTableContextValue<TData>;
