import { DataGridQueryState } from './helpers';
interface SortState {
    field: string;
    direction: 'asc' | 'desc' | '';
}
export interface PaginationAndSort {
    page: number;
    size: number;
    sort: SortState;
}
export declare const usePaginationAndSort: (dataGridQueryState?: DataGridQueryState) => {
    paginationAndSortState: PaginationAndSort;
    setPaginationAndSortState: import('react').Dispatch<import('react').SetStateAction<PaginationAndSort>>;
    routerPaginationAndSortQueryParams: {
        query: string;
        newValue: string | number;
    }[];
    apiRequestPaginationAndSortParams: {
        [k: string]: string | number;
    };
};
export declare const transformMapToRouterParams: (paginationAndSortParamsMap: Map<string, string | number>) => {
    query: string;
    newValue: string | number;
}[];
export declare const transformMapToApiRequestParams: (paginationAndSortParamsMap: Map<string, string | number>) => {
    [k: string]: string | number;
};
export {};
