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