import { GridFilterModel } from '@mui/x-data-grid-pro';
import { TabType } from './types';

export interface QueryState {
    generalSearchText: string;
}
interface Props {
    placeholder: string;
    entityType: string;
    tab?: TabType;
    fileNameLabel?: string;
}
export declare const useTableQuery: ({ placeholder, tab, entityType, fileNameLabel, }: Props) => {
    paginationAndSortState: import('./usePaginationAndSort').PaginationAndSort;
    setPaginationAndSortState: import('react').Dispatch<import('react').SetStateAction<import('./usePaginationAndSort').PaginationAndSort>>;
    apiRequestParams: {
        [k: string]: any;
    };
    searchNode: import("react/jsx-runtime").JSX.Element;
    filterModel: GridFilterModel | undefined;
    onFilterModelChange: (model: GridFilterModel) => void;
    debouncedSearchTerm: string;
    exportDataAsExcel: (gridApiRef: import('react').MutableRefObject<import('../../main').GridApiPro>) => Promise<void>;
    allQueryParams: {
        query: string;
    }[];
};
export {};
