import { DslDefinition } from '@oinone/kunlun-dsl';
import { RuntimeContext, RuntimeContextService, RuntimeModelField, RuntimeView, RuntimeViewAction } from '@oinone/kunlun-engine';
export declare function seekViewMask(viewAction: RuntimeViewAction, moduleName?: string): DslDefinition;
export declare function createRuntimeContextByViewAction(viewAction: RuntimeViewAction, inline: boolean, nodeHandle?: string, rootHandle?: string): RuntimeContext | undefined;
export declare function createRuntimeContextByView(view: RuntimeView, inline: boolean, nodeHandle?: string, rootHandle?: string): RuntimeContext;
export declare function createRuntimeContextByFieldSubview(view: RuntimeView, field: RuntimeModelField, inline: boolean, nodeHandle?: string, rootHandle?: string): RuntimeContext;
export declare function createOrUpdateRuntimeContextByDslDefinition(dslDefinition: DslDefinition, nodeHandle?: string): RuntimeContext<unknown>;
/**
 * 为组件创建运行时上下文，一般用于直接创建组件的场景
 * 注：deep属性必须保持一致
 * @param view 运行时视图
 * @param options 创建可选项 默认值: mergeLayout = false, deep = true
 * @return 组件运行时上下文
 */
export declare function createRuntimeContextForWidget(view: RuntimeView, options?: {
    mergeLayout?: boolean;
    deep?: boolean;
}): RuntimeContext;
export declare class RuntimeContextServiceImpl implements RuntimeContextService {
    createRuntimeContextByViewAction(viewAction: RuntimeViewAction, inline: boolean, nodeHandle?: string, rootHandle?: string): RuntimeContext | undefined;
    seekViewMask(viewAction: RuntimeViewAction, moduleName?: string): DslDefinition;
}
