import { SetStoreFunction, Store, createStore } from 'solid-js/store'; import { TableLayout } from './table-layout'; import { PivotConfig } from './pivot-utils'; type TableStore = { headerSizes: Record; columnWidths: Record; highlightedRow: number[] | null; highlightedExplore: string[] | null; showCopiedModal: boolean; }; export type TableContext = { root: boolean; layout: TableLayout; store: Store; setStore: SetStoreFunction; headerSizeStore: ReturnType>>; currentRow: number[]; currentExplore: string[]; /** Map of field key to pivot configuration */ pivotConfigs: Map; }; export declare const TableContext: import('solid-js').Context; export declare const useTableContext: () => TableContext | undefined; export declare function createTableStore(): import('solid-js/store').StoreReturn; export {};