import { NavigationMessage } from "./navigation.js"; import { NavigationCommitPhase, NavigationPhaseFollowupAction, NavigationPhaseName } from "./phases.js"; import { RecognizedRoute } from "./recognizer.js"; import { Router } from "./router.js"; declare class NavigationPhaseImpl implements NavigationCommitPhase { readonly name: NavigationPhaseName; private readonly commitActions; private readonly cancelActions; private routes; private routers; canceled: boolean; titles: Array>; get route(): RecognizedRoute; get router(): Router; constructor(name: NavigationPhaseName, route: RecognizedRoute, router: Router, commitActions: NavigationPhaseFollowupAction[], cancelActions: NavigationPhaseFollowupAction[]); cancel(callback?: NavigationPhaseFollowupAction): void; onCommit(callback: NavigationPhaseFollowupAction): void; onCancel(callback: NavigationPhaseFollowupAction): void; setTitle(title: string): void; evaluateContributor(contributor: any, route?: RecognizedRoute, router?: Router): Promise; } /** * @alpha */ export interface NavigationProcess { run(router: Router, message: NavigationMessage): Promise; } /** * @alpha */ export declare class DefaultNavigationProcess { private phases; run(router: Router, message: NavigationMessage): Promise; commit(phase: NavigationPhaseImpl): void; } export {};