import { FIELD_TYPE } from '../../domain/field/field-type';
import { ComputedRule } from '../../domain/field/field-props-schema-type';
import { FieldDataBindingMeta } from '../../domain/field/field-binding';
import { DesignSuiteContext } from '../_register_/context/DesignSuiteContext';
import { FieldMeta } from '../../capabilities/model-field-runtime';
import { FieldManifest } from '../../capabilities/field-manifest';
export declare function resolveComputedRule(rule: ComputedRule, props: any): any;
/** 获取填充默认值 */
export declare function applyDefaultValue(props: any, payload: {
    rule?: ComputedRule;
    valuePath: string;
}): Record<string, any> | undefined;
/** 获取填充 API 类型的默认值 */
export declare function enrichApiDefaultValues(defaults: Record<string, any> | undefined, rule: ComputedRule, valuePath: string, fieldMeta: FieldDataBindingMeta, context: any, loadFieldByKey: (modelKey: string, key: string) => Promise<FieldMeta | undefined>): Promise<Record<string, any> | undefined>;
export declare function computeFieldDefaultValue(params: {
    /** 字段类型 */
    fieldType: FIELD_TYPE;
    /** 字段 meta */
    fieldMeta: FieldDataBindingMeta;
    /** valuePath */
    valuePath: string;
    /** 原始值 */
    value: any;
    /** props / widgetProps */
    props: Record<string, any>;
    /** 获取 manifest */
    getFieldManifest: (type: FIELD_TYPE) => FieldManifest | undefined;
    /** enrich 依赖 */
    loadFieldByKey: (modelKey: string, key: string) => Promise<FieldMeta | undefined>;
}): Promise<Record<string, any>>;
/** 默认值-数据填充 */
export declare function loadDefaultValueByAutofillRules(ctx: DesignSuiteContext, instances: any[], autofillRules: any[], field: FieldDataBindingMeta, masterSlaveList: FieldMeta[], 
/** 外部传进来的信息 */
context: any): Promise<Record<string, any>>;
/** 选择值-数据填充 */
export declare function loadDataValuesByAutofillRules(record: any, ctx: DesignSuiteContext, instances: any[], autofillRules: any[], sourceValuePath: string, masterSlaveList: FieldMeta[]): Promise<Record<string, any>>;
