import React from 'react';
import type { ColumnDef, Table } from "@tanstack/react-table";
import type { CommandClick, ContextInfo, PaginationConfig } from '../../grid-component/type';
import type { ContextMenuItem } from "../..";
type Props<T> = {
    tableContainerRef: React.RefObject<HTMLDivElement>;
    table: Table<T>;
    prefix: string;
    id: string;
    columns: ColumnDef<T>[];
    height: number;
    minHeight?: number;
    dataSource: T[];
    summary?: boolean;
    loading?: boolean;
    commandClick?: (args: Omit<CommandClick<T>, 'rows'>) => void;
    editAble?: boolean;
    contextMenuItems?: ContextMenuItem[];
    showEmptyText?: boolean;
    contextMenuClick?: any;
    contextMenuOpen?: (args: Omit<ContextInfo<T>, 'item'>) => void;
    contextMenuHidden?: string[] | ((args?: Omit<ContextInfo<T>, 'item' | 'event'>) => string[]);
    next?: () => void;
    pagination?: false | PaginationConfig;
    infiniteScroll?: boolean;
};
declare const TableWrapper: <RecordType extends object>(props: Props<RecordType>) => React.JSX.Element;
export default TableWrapper;
