import { FIELD_TYPE } from '../../domain/field/field-type';
import { DesignSuiteContext } from '../_register_/context/DesignSuiteContext';
import { FieldMeta } from '../../capabilities/model-field-runtime';
/** 渲染端公共类（目前只迁移了部分使用到的方法 ） */
export declare const renderUtils: {
    getBoolValue: (value: any) => any;
    formatValue: (fieldType: FIELD_TYPE, value: any) => any;
};
/**
 * 根据字段类型获取默认的查询ID值
 * 用于根据不同类型的ID请求实验室(Lab)相关数据
 * @returns {Object} 按字段类型映射的默认查询值对象
 */
export declare function getDefaultQueryIdsByFieldType(payload: {
    materialNumber?: string;
    productId?: string;
    routingOperation?: string;
    manufacturingOrderId?: string;
    defaultUserId?: string;
    defaultOrgId?: string;
}): {
    material_no: string | undefined;
    product: string | undefined;
    routing_operation: string | undefined;
    mfg_order: string | undefined;
    user: string | undefined;
    user_multi: string | undefined;
    org: string | undefined;
    org_multi: string | undefined;
};
/** 获取默认值集合 */
export declare function loadDefaultValuesByFields(instances: any[], ctx: DesignSuiteContext, context: any, masterSlaveList: FieldMeta[]): Promise<Record<string, any>>;
/** 获取数据初始化数据 */
export declare const loadDataInitValues: (designerJson: string, 
/** 参数配置 */
paramsConfig: any, 
/** 子表信息 */
subTableInfo: any[], 
/** 字段权限 */
fieldPermission: any[], 
/** 实例 ID */
instanceId: string) => Promise<{
    [x: string]: any;
}>;
/** 收集模型关联字段（主表 + 子表） */
export declare const collectLinkedModelFields: (instances: any[]) => {
    /** 主模型的关联字段信息 */
    foreignFields: string[];
    /** 子模型的关联字段信息 */
    subModelFields: {
        masterFieldKey: string | undefined;
        subModelKey: string | undefined;
        foreignFields: string[];
    }[];
};
