import { NTable } from '../interface'; import { IFixedInfo } from '../utils'; import { InjectionKey } from 'vue'; export interface ITableContextProps { getComponent: NTable.NCustomize.TGetComponent; scrollbarSize: number; fixedInfoList: readonly IFixedInfo[]; isSticky: boolean; summaryCollect: (uniKey: string, fixed: boolean | string) => void; transformCellText?: NTable.NCell.TTransformCellText; } export declare const TableContextKey: InjectionKey; export declare const useProvideTable: (props: ITableContextProps) => void; export declare const useInjectTable: () => ITableContextProps; type TContextProps = { onResizeColumn: (width: number, column: NTable.NColumn.IColumn) => void; }; export declare const useProvideTableContext: (props: TContextProps) => void; export declare const useInjectTableContext: () => TContextProps; export {};