import { ColumnProps } from '../components/Table/types';
export interface TableContextType<T = unknown> {
    data: T[];
    columns: ColumnProps<T>[];
    sortStates: {
        [key: string]: {
            direction: "asc" | "desc" | null;
            priority: number;
        };
    };
    onColumnSort?: (columnKey: string, sorter?: (a: T, b: T) => number) => void;
    onRowSelect?: (row: T) => void;
    onRowClick?: (row: T) => void;
    selectable?: boolean;
    selectedRows?: Array<string | number>;
    onSelectAll?: () => void;
    renderCheckbox?: (checked: boolean, row: T) => React.ReactNode;
    isRowSelectable?: (row: T) => boolean;
    checkboxPosition?: "left" | "right";
    showSelectAll?: boolean;
}
export declare const TableContext: import('react').Context<TableContextType<unknown>>;
