import type { Table, VisibilityState } from '@tanstack/table-core'; import { type Ref } from 'vue'; import type { GetRowBehavior, KottiTable } from './types'; export type TableContext = Ref<{ internal: { columnOrder: COLUMN_ID[]; getColumnIndex: (columnId: COLUMN_ID) => number; getOrdering: () => KottiTable.Ordering[]; getRowBehavior: GetRowBehavior; hasDragAndDrop: boolean; isExpandable: boolean; selectionCount: number; swapDraggedAndDropTarget: (draggedColumnId: COLUMN_ID, targetIndex: number) => void; table: Table; triggerExpand: (rowId: string) => void; unselectAllRows: () => void; visibleColumns: VisibilityState; }; }>; export declare const useProvideTableContext: (id: string, tableContext: TableContext) => void; export declare const useTableContext: (id: string) => TableContext;