import React from 'react'; /** * TableCellIndexSpacer 组件的属性接口 */ export interface TableCellIndexSpacerProps { /** 自定义样式 */ style?: React.CSSProperties; /** 自定义类名 */ className?: string; /** 单元格的唯一标识 */ key?: React.Key; /** 列索引,用于选中整列 */ columnIndex?: number; /** 表格路径,用于定位表格元素 */ tablePath?: number[]; } /** * TableCellIndexSpacer 组件 - 表格索引间隔单元格组件 * * 该组件用于渲染表格行索引中的间隔单元格,用于占位和布局。 * 使用 context 来生成 className,支持样式自定义。 * * @component * @description 表格索引间隔单元格组件,用于占位和布局 * @param {TableCellIndexSpacerProps} props - 组件属性 * @param {React.CSSProperties} [props.style] - 自定义样式 * @param {string} [props.className] - 自定义类名 * @param {React.Key} [props.key] - 单元格的唯一标识 * @param {number} [props.columnIndex] - 列索引,用于选中整列 * @param {number[]} [props.tablePath] - 表格路径,用于定位表格元素 * * @example * ```tsx * * ``` * * @returns {React.ReactElement} 渲染的表格索引间隔单元格组件 * * @remarks * - 使用 ConfigProvider context 生成 className * - 支持自定义样式覆盖 * - 不可编辑状态 * - 用于占位和布局 * - 支持点击选中整列功能 */ export declare const TableCellIndexSpacer: React.FC;