import type { Table } from '../../../../../../../../cn-ai-table/table-core';
import type { PrimaryKeyType } from '../../../../../../../../cn-ai-table/view/utils/primary-key';
/** 分组树查找结果 */
export interface RowGroupLookupResult {
    row: any;
    /** 该行所属的顶层（或路径上）分组行；根下数据行可能为 null */
    groupRow: any | null;
}
/** `useGroupRowDragEnd` 入参里的 dataModel 形态（避免耦合具体 Model 类） */
export interface GroupedTableDataModelLike {
    primaryKey?: PrimaryKeyType;
    recordOperationRequestConfig?: any;
    rawData: any;
    updateRow: (pk: any, data: any) => void;
    setRawData: (data: any) => void;
}
/** `useGroupRowDragEnd` 入参 */
export interface UseGroupRowDragEndParams {
    table: Table<any>;
    dataModel: GroupedTableDataModelLike;
    grouping: string[];
}
