import { MetadataInfo } from '../metadata/metadata'; declare type CloseCbType = (() => void | Promise) | undefined; export declare class App { #private; constructor(isDefault?: boolean, closeCb?: CloseCbType); private _onInit; onInit(_manifest: MetadataInfo, _properties: MetadataInfo): Promise; private _onClose; onClose(): Promise; run(): void; stop(): void; wait(): void; private dumpDirtyProp; } /** * This is a convenient function that enables users to setup app property * _before_ creating a app instance. That's why this function resides outside * the App class. */ export declare function setAppProp(appRoot: string, properties: Record): void; export {};