///
///
///
import { ComponentRef, NgModuleRef, Type } from '@angular/core';
import type { AppOptions, MiniProgramComponentInstance, MiniProgramComponentOptions, MiniProgramPageOptions, NodePath } from 'angular-miniprogram/platform/type';
export declare class MiniProgramCoreFactory {
MINIPROGRAM_GLOBAL: WechatMiniprogram.Wx;
loadApp: (app: T) => AppOptions;
protected eventPrefixList: {
listener: string;
prefix: string;
}[];
protected getListenerEventMapping(prefix: string, name: string): string[];
protected linkNgComponentWithPath(mpComponentInstance: MiniProgramComponentInstance, list: NodePath): void;
/** 监听事件 */
protected listenerEvent(): Record;
protected pageStatus: {
destroy: (this: MiniProgramComponentInstance) => void;
attachView: (this: MiniProgramComponentInstance) => void;
detachView: (this: MiniProgramComponentInstance) => void;
};
protected linkNgComponentWithPage(mpComponentInstance: MiniProgramComponentInstance, componentRef: ComponentRef, ngModuleRef: NgModuleRef): void;
pageStartup: (module: Type, component: Type, pageOptions?: {
useComponent: boolean;
}) => string | void;
protected addNgComponentLinkLogic(config: WechatMiniprogram.Component.Options<{}, {}, {}>): WechatMiniprogram.Component.Options<{}, {}, {}, {}, false>;
componentRegistry: (component: Type) => string;
protected getPageOptions(component: Type & MiniProgramPageOptions): WechatMiniprogram.Page.Options<{}, {}>;
protected getComponentOptions(component: Type & MiniProgramComponentOptions): WechatMiniprogram.Component.Options<{}, {}, {}, {}, T>;
}
export declare const MiniProgramCore: MiniProgramCoreFactory;