import type { AiFieldConfig } from '../types';
import type { SingleGridTaskSubmitRequest } from '../../../../../../../cn-ai-table/view/services/types/ai-column';
export interface UseFieldCreationOptions {
    /** 数据模型 */
    dataModel: any;
    /** 视图 ID */
    viewId: string;
}
export interface CreateFieldParams {
    /** 字段类型 */
    fieldType: string;
    /** 字段标签 */
    fieldLabel: string;
    /** AI 字段配置（可选） */
    config?: AiFieldConfig;
}
export interface UseFieldCreationReturn {
    /** 创建字段 */
    createField: (params: CreateFieldParams) => void;
    /** 构建任务请求 */
    buildTaskRequests: (columnCode: string, targetRows: any[], config: AiFieldConfig) => SingleGridTaskSubmitRequest[];
}
/**
 * 字段创建相关逻辑 Hook
 */
export declare function useFieldCreation({ dataModel, viewId, }: UseFieldCreationOptions): UseFieldCreationReturn;
