import type { CSSProperties } from 'react'; import type { IColumn } from '../types'; /** * 计算表格的头部和身体列的样式, 以及fixed列的样式 */ export declare const useCellStyle: ({ column, columnIndex, columns, customStyle, resolveVariable }: { column: IColumn | (() => JSX.Element | null); columnIndex: number; columns?: IColumn[]; customStyle?: CSSProperties; resolveVariable?: (expr: string) => T; }) => [CSSProperties | undefined, string, number | string | null];