import type { OnChangeFn, Table, TableState } from "@tanstack/react-table";
import { tableFilterMap, updateColumnFilter } from "./datatables.types";
export type onTableChangeEvent = (params: TableState & TableFormType) => void;
export type TableFormType = {
    /**
     * @example {type: "LONG", origin: "system"}
     */
    predicates: Record<string, string>;
};
type TableContextType = {
    table: Table<any>;
    filteredColumns: string[];
    addFilterColumn: (column: string) => void;
    removeFilterColumn: (column: string) => void;
    onChange: () => void;
    resetColumns: () => void;
    globalFilter: string;
    onGlobalFilterChange: OnChangeFn<any>;
    tableCustomFilter: tableFilterMap;
    updateColumnCustomFilter: updateColumnFilter;
    isLoading: boolean;
};
export declare const TableContext: import("react").Context<TableContextType | null>;
export {};
//# sourceMappingURL=TableContext.d.ts.map