import type { Header } from '@tanstack/vue-table'; /** DataTable column reorder policy: not select/expand, not pinned, `meta.reorderable`. */ export declare function isDataTableHeaderReorderable(header: Header): boolean; /** * Replacing reorderable header positions with `newReorderableIds` (Sortable order) while keeping * fixed columns (e.g. select) in place. */ export declare function mergeReorderableIntoVisibleOrder({ visibleHeaders, newReorderableIds, isReorderable, }: { visibleHeaders: Header[]; newReorderableIds: string[]; isReorderable: (header: Header) => boolean; }): string[]; /** TanStack `columnOrder`: visible ids in header order, then hidden leaf ids (unchanged relative tail). */ export declare function dataTableColumnOrderWithHiddenAppended({ mergedVisibleColumnIds, allLeafColumnIds, }: { mergedVisibleColumnIds: string[]; allLeafColumnIds: string[]; }): string[]; /** * Reads reorderable column ids in DOM order after Sortable updates the ``. Uses the same markers as * DataTable: direct `th` children with `data-stash-column-reorder` and `data-column-id` (Sortable * `oldIndex` / `newIndex` are not comparable to the reorderable-id list when non-draggable `th` exist). */ export declare function reorderableColumnIdsFromHeaderRow(headerRow: HTMLElement): string[];