import { DslDefinition, TemplateDslDefinition, ViewDslDefinition } from '@oinone/kunlun-dsl';
import { RuntimeViewAction } from '@oinone/kunlun-engine';
import { ViewType } from '@oinone/kunlun-meta';
export interface PopupDslDefinition {
    model: string;
    modelName: string;
    resModel: string;
    resModelName: string;
    module?: string;
    moduleName: string;
    resModule?: string;
    resModuleName: string;
    viewType: ViewType;
    viewDslNode: DslDefinition;
    dslDefinition: DslDefinition;
}
export declare function seekPopupDslDefinition(dsl: DslDefinition | undefined): {
    popupViewDslNode?: TemplateDslDefinition;
    currentViewDslNode?: ViewDslDefinition;
};
export declare function createPopupDslDefinition(popupViewDslNode: DslDefinition | undefined, currentViewDslNode: DslDefinition | null | undefined, action: RuntimeViewAction): Promise<PopupDslDefinition | undefined>;
