///
import { DataSourceTableProps } from '../type';
declare type Params = {
pagination?: {
page: number;
size: number;
};
order_by?: string;
tabs?: {
name: string;
filterBy: Record;
sortBy: string;
};
};
declare const useTableQuery: (props: DataSourceTableProps, currentSettingHash: string) => {
queryPageConfig: {
page: number;
pageSize: number;
filter: Record;
sort: string;
};
setQueryPageConfig: import("react").Dispatch;
sort: string;
}>>;
handleValuesChange: (this: unknown, params: Params, allParams: Params) => void;
refreshData: (this: unknown) => void;
handleFilterChange: (this: unknown, changedFields: any, allFields: any) => void;
refreshCurrentPage: (this: unknown) => void;
getInitialValues: (this: unknown) => Record;
};
export default useTableQuery;