import type { Ref } from 'vue'; import type { FinallyColumnType, FlatRecord, Key, RenderedCell, SurelyTableProps } from '../components/interface'; interface UseCellProps { leftColumns: Ref; rightColumns: Ref; visibleCenterColumns: Ref; allColumns: Ref; data: Ref; mergedRowHeights: Ref>; startIndex: Ref; bodyWidth: Ref; leftWidth: Ref; centerWidth: Ref; getColumnPosition: (index: number, colSpan?: number) => { width: number; left: number; minWidth: number; maxWidth: number; }; getRowHeight: (fromIndex: number, rowSpan?: number) => number; customCell: Ref; } export declare type UseCellPropsRes = { hasMultiRowSpanInfo: Ref>; centerRowColumnsMap: Ref>; getCellPropsByKey: (rowKey: Key, columnKey: Key) => RenderedCell; }; declare const useCellProps: ({ leftColumns, rightColumns, visibleCenterColumns, allColumns, data, mergedRowHeights, getColumnPosition, bodyWidth, leftWidth, centerWidth, getRowHeight, customCell: contextCustomCell, }: UseCellProps) => UseCellPropsRes; export default useCellProps;