import type { ColumnDef, Table } from '../../../../../../../../cn-ai-table/table-core';
import type { RowSelectionProps } from '../../../types';
import type { IOperateColumnPluginOptions } from '../../../plugins';
import type { ResolvedGroupHeaderInfo } from './group-info';
export interface GroupedTableViewProps {
    viewId: string;
    table: Table<any>;
    columns: Array<ColumnDef<any>>;
    viewColumnMetaData: any;
    showIndex?: boolean;
    rowSelectionProps?: RowSelectionProps;
    /** 最终渲染列宽映射（自动列宽 + 持久化列宽合并后结果） */
    widthMap?: Record<string, number>;
    operateColumn?: IOperateColumnPluginOptions;
    /** 与无分组表格一致：列头右键菜单需触发工具栏通知/面板（否则仅 setViewConfig 不显示消息通知栏） */
    onShowFilterPanel?: () => void;
    onShowSortPanel?: () => void;
    onShowGroupPanel?: () => void;
    onShowColorFillPanel?: () => void;
    /** 为 false 时关闭 AI 列编辑与任务 */
    enableAiFields?: boolean;
}
export interface GroupedSpacerRowProps {
    /** 功能列(1) + 数据列数 */
    totalColSpan: number;
}
export interface GroupedHeaderRowProps {
    table: Table<any>;
    groupRow: any;
    virtualRowSize: number;
    depth: number;
    isFirstGroup: boolean;
    widthMap: Record<string, number>;
    getGroupInfo: (row: any) => ResolvedGroupHeaderInfo | null;
    showIndex: boolean;
    rowSelectionProps?: RowSelectionProps;
    operateColumn?: IOperateColumnPluginOptions;
}
