import type { ColumnDef, ColumnPinningState, ExpandedState, VisibilityState } from '@tanstack/react-table';
import type { ColumnsTable, Sorter, TableProps } from '../type';
import type { Dispatch, SetStateAction } from 'react';
import React from 'react';
type Props<T> = Omit<TableProps<T>, 'columns'> & {
    id: string;
    rowKey: string;
    prefix: string;
    columns: ColumnDef<T>[];
    propsColumns: ColumnsTable;
    columnVisibility: VisibilityState;
    expanded: ExpandedState;
    columnPinning: ColumnPinningState;
    originData: T[];
    mergedFilterKeys: any;
    setMergedFilterKeys: any;
    isFullScreen: boolean;
    triggerFilter: Dispatch<SetStateAction<any>>;
    triggerSorter: Dispatch<SetStateAction<Sorter[]>>;
    onContextMenu?: (data: T) => (event: any) => void;
};
declare const Grid: <RecordType extends object>(props: Props<RecordType>) => React.JSX.Element;
export default Grid;
