import { ContractTableConfig, UrlAction } from '../types'; import { SortColumn } from '../../Table'; export declare const SORT_PARAM = "sortKey"; export declare const SORT_PARAM_ORDER = "sortOrder"; export declare function sortFromParam(sortUrlParam: string | null, sortOrder: string | null): SortColumn | null; export declare function useSorting({ params, dispatchParams, tableConfigBackendSorting, }: { params: URLSearchParams; dispatchParams: React.Dispatch; tableConfigBackendSorting: ContractTableConfig['sorting']; }): { sorting: { state: [readonly SortColumn[], import('react').Dispatch>]; manualSorting: boolean; }; } | null;