export declare const SORTABLE_ATTR = "data-nabi-sortable"; export declare function hasMergedCells(table: Element): boolean; export type SortDirection = 'descending' | 'ascending'; export interface SortState { readonly column: number; readonly direction: SortDirection; } export declare function nextSortState(active: SortState | null, column: number): SortState | null; export declare function rankRows(values: readonly string[], direction: SortDirection, locale: string): number[]; export interface TableSortOptions { readonly locale?: string; readonly tables?: 'marked' | 'all'; } export declare function attachTableSort(root: HTMLElement, options?: TableSortOptions): () => void; //# sourceMappingURL=table-sort.d.ts.map