///
import { TGetTableOptions } from './interface';
interface DefaultFilterData {
order?: string;
orderBy?: string;
}
export declare const FETCH_TRIGGER_BY: import("../../../utils/Enum").EnumStatic;
export declare const FETCH_TRIGGER_BY_RELOAD_TYPE: import("../../../utils/Enum").EnumStatic;
declare const useTable: (getOptions: TGetTableOptions, props?: any, customFunctions?: any) => {
key: any;
className: string | undefined;
title: import("react").ReactNode;
toolbarProps: {
withToolbar: boolean;
bulkProps: {
bulkComp: import("react").ComponentType | undefined;
bulkConfig: import("./interface").IBulkItemConfig[] | undefined;
};
filterProps: {
filterComp: import("react").ComponentType | undefined;
filterConfig: {
controls: import("./interface").IFilterControl[];
};
};
onSearch: (params: any, extra?: any) => void;
onReload: (extra?: Object | undefined) => void;
};
tableProps: any;
tableComp: import("react").ComponentType | undefined;
card: import("react").ComponentType | undefined;
emptyConfig: {
default?: import("../../../components/biz/EmptyStatus").EmptyStatusProps | undefined;
create?: import("../../../components/biz/EmptyStatus").EmptyStatusProps | undefined;
search?: import("../../../components/biz/EmptyStatus").EmptyStatusProps | undefined;
} | undefined;
emptyComp: import("react").ComponentType | undefined;
dialogProps: {};
tableActions: any;
filterData: DefaultFilterData;
listParams: any;
httpStatusCode: any;
setListParams: (listParams: any, listExtra?: any) => void;
setSelectedRowKeys: (selectedRowKeys: any) => void;
updateListParams: (params: any, extra?: any) => void;
handleCommand: ({ config, payload }: any) => void;
handleTableCommand: (type: string, payload?: any) => void;
handleFilterChange: (params: any) => void;
};
export default useTable;