import type { ColumnDef, SortState } from '../types'; type PathGetter = (row: TRow, path: string) => unknown; export declare function toggleSortState(currentSortState: readonly SortState[], field: string, multi?: boolean): SortState[]; export declare function applySort(indices: readonly number[], rows: readonly TRow[], sortState: readonly SortState[], columns: readonly ColumnDef[], pathGet: PathGetter): number[]; export {};