import { UseTableConfig } from '../Table/useTable'; import { ActionEvent, TableEventPayload } from '../../types/events'; export declare const useTableWithControls: (tableConfig: UseTableConfig) => { onChange: (actionEvent: ActionEvent) => void; primaryTableRowData: { hasSettings: boolean | undefined; hasFilter: boolean | undefined; sortOptions: { value: string; label: import("react/jsx-runtime").JSX.Element; }[]; searchByPlaceholder: string; isSortedAscending: boolean; }; secondaryTableRowData: { groups: { orders: string[]; warehouse: string[]; availability: string[]; }; totalRecords: number; }; dataSource: any[]; columns: import('antd').TableColumnsType>; rowSelection: { type: import('../Table/Table').SelectionType; selectedRowKeys: import('react').Key[]; onChange: (newSelectedRowKeys: React.Key[], newSelectedRows: Record[]) => void; getCheckboxProps: (record: any) => { disabled?: boolean; name?: string; }; } | undefined; selectedRows: Record[]; selectedRowKeys: import('react').Key[]; updateDataSource: (newDataSource: Record[]) => void; };