import { WidgetMeta } from '../../core';
export interface CreateWidgetFromFieldOptions {
    /** 主从关联字段 key */
    parentFieldKey?: string;
    /** 插入来源 */
    source?: 'palette';
    /** 覆盖默认 props */
    overrideProps?: Record<string, any>;
}
export declare function createDesignWidgetToWidgetFactory(): (widget: {
    type: string;
    icon: string;
    name: string;
}, opts?: CreateWidgetFromFieldOptions) => WidgetMeta;
