import { RouterNavigation, Router } from './Router'; import { ActivityFn, Activity } from './Def'; import { Container } from './Container'; declare type RouterAppOptions = { activeWhen: Activity; }; export interface RouterContainerBaseOptions { fallbackUrl?: string; fallbackOnlyWhen?: ActivityFn; cancelActivateApp?: (app: string | undefined, event: Pick) => Promise | boolean; disableAppConflictWarning?: boolean; } /** * Container that activates or deactivates applications by URL router automatically. * You must call run() to start working. */ export declare class RouterContainer, AppAdditionalOptions = Record> extends Container { #private; protected get debugName(): string; get [Symbol.toStringTag](): string; private checkAppActivity; get router(): Router | undefined; /** * Destroy this container, after all applications unloaded. * @returns Promise */ destroy(): Promise; /** * Make this container starts working. * @returns void */ run(): void; /** * Manually trigger router changed, instead of URL. * @returns void */ triggerReroute(): void; } export {};