import { Doc } from '../../core';
export interface WidgetInitializerOptions {
    doc?: Doc;
    widget: any;
    fieldInfo?: any;
    ctx?: any;
}
/** 运行时执行单个 widget 初始化 */
export declare function applyWidgetRuntimeInitializer(options: WidgetInitializerOptions): void;
/** widget 运行时初始化 */
export declare function useWidgetInitializer(options: WidgetInitializerOptions): {
    init: (isSupport: boolean) => void;
};
