import { RuntimeContext, SharedRuntimeViewAction, ViewActionQueryParameter } from '@oinone/kunlun-engine';
import { CallChaining } from '@oinone/kunlun-shared';
import { RouterWidget } from '@oinone/kunlun-vue-router';
import { MetadataViewWidget } from '../../basic';
export declare class SharedMainViewWidget extends RouterWidget {
    protected metadataViewWidget: MetadataViewWidget | undefined;
    protected runtimeContext: RuntimeContext | undefined;
    protected reloadMainViewCallChaining: CallChaining<void>;
    protected loading: boolean;
    protected metadataHandle: string | undefined;
    initialize(props: any): this;
    protected createMetadataViewWidget(): MetadataViewWidget;
    protected mounted(): Promise<void>;
    protected reloadPage(sharedCode: string): Promise<void>;
    protected fetchSharedRuntimeViewAction(sharedCode: string): Promise<{
        action: SharedRuntimeViewAction;
        page: ViewActionQueryParameter;
    } | undefined>;
    protected beforeRender(action: SharedRuntimeViewAction): void;
    protected initView(action: SharedRuntimeViewAction): void;
    protected renderMainView(page: ViewActionQueryParameter): Promise<void>;
}
