import { ColumnProps } from '.'; import { TableState } from '../../types'; import { TableProps } from '../../Table'; import { HiddenColumnsState } from '../Settings'; export interface AugmentedColumn extends ColumnProps { unpinnedIndex?: number; } export interface ColumnService { allColumns: () => AugmentedColumn[]; columns: () => AugmentedColumn[]; getHiddenColumns: () => HiddenColumnsState; colSpan: () => number; hideColumn: (id: ReturnType['dataKey']>) => void; showColumn: (id: ReturnType['dataKey']>) => void; hideAllColumns: () => void; showAllColumns: () => void; togglePinnedColumn: (id: string) => void; columnsOffsets: () => Map; } export declare const columnServiceId = "columns"; export declare const columnService: (getState: () => TableState, update: (id: string, newState: TableState | ((prev: TableState) => TableState)) => void) => ColumnService;