import { FIELD_TYPE } from '../../domain/field/field-type';
import { FieldMeta } from '../../capabilities/model-field-runtime';
import { FieldManifest } from '../../capabilities/field-manifest';
import { WidgetMeta } from '../../core';
export interface CreateWidgetFromFieldOptions {
    /** 主从关联字段 key */
    parentFieldKey?: string;
    /** 插入来源 */
    source?: 'palette';
    /** 覆盖默认 props */
    overrideProps?: Record<string, any>;
}
export declare function createDesignFieldToWidgetFactory(getFieldManifest: (type: FIELD_TYPE) => FieldManifest | undefined): (field: FieldMeta, opts?: CreateWidgetFromFieldOptions) => WidgetMeta;
