import { DslDefinition } from '@oinone/kunlun-dsl';
import { RuntimeContext, RuntimeModelField, RuntimeView, RuntimeViewAction, WidgetConstructor, WidgetProps } from '@oinone/kunlun-engine';
import { ViewType } from '@oinone/kunlun-meta';
import { ActiveRecordsWidget, Widget } from '@oinone/kunlun-vue-widget';
import type { MetadataViewWidgetProps } from './MetadataViewWidget';
export declare class MetadataViewWithActiveRecordsWidget<Props extends MetadataViewWidgetProps = MetadataViewWidgetProps> extends ActiveRecordsWidget<Props> {
    private viewAction;
    protected runtimeContext: RuntimeContext | undefined;
    protected isVirtual: boolean;
    protected inline: boolean;
    protected viewType: ViewType | undefined;
    protected modelModel: string | undefined;
    protected modelName: string | undefined;
    protected moduleModule: string | undefined;
    protected moduleName: string | undefined;
    protected viewLayout: DslDefinition | undefined;
    protected viewDsl: DslDefinition | undefined;
    protected viewTemplate: DslDefinition | undefined;
    initialize(props: Props): this;
    /**
     * 使用指定运行时上下文进行上下文初始化
     * @param runtimeContext 指定运行时上下文
     */
    initContext(runtimeContext: RuntimeContext): RuntimeContext;
    /**
     * 使用指定跳转动作进行上下文初始化
     * @param viewAction 指定跳转动作，默认使用当前视图动作
     */
    initContextByViewAction(viewAction?: RuntimeViewAction): RuntimeContext;
    /**
     * 使用指定视图进行上下文初始化
     * @param view 指定视图
     */
    initContextByView(view: RuntimeView): RuntimeContext<unknown>;
    /**
     * 使用指定视图和字段进行上下文初始化
     * @param view 指定视图
     * @param field 指定字段
     */
    initContextByViewForField(view: RuntimeView, field: RuntimeModelField): RuntimeContext<unknown>;
    createWidget<TProps extends WidgetProps, T extends Widget<TProps>>(constructor: WidgetConstructor<TProps, T>, slotName?: string, initConfig?: T['config'], specifiedIndex?: number, resolveNewCode?: boolean): T;
    protected $$unmountedAfterProperties(): void;
}
