import { Constructor, InitModelOf, ObjectModel, ObjectType, ObjectWithType, Page, PageIdDummyPageParamDo, PageParamDo, Session } from '../../../index'; export declare class PageResolver implements PageResolverModel, ObjectWithType { model: PageResolverModel; session: Session; objectType: string; protected static _INSTANCES: Map; /** * A map of uuid to objectType of the pages using a {@link PageIdDummyPageParamDo}. */ protected _objectTypeByUuid: Map>; init(model: InitModelOf): void; /** * @returns the object type of the page matching the given page param, or `null` if no such page could be identified. */ findObjectTypeForPageParam(pageParam: PageParamDo): ObjectType; protected _findObjectTypeForDummyPageParam(pageParam: PageIdDummyPageParamDo): ObjectType; protected _initObjectTypeByUuid(): void; protected _getPageUuid(PageConstructor: Constructor): string; /** * Returns an instance of {@link PageResolver} for the given {@link Session}. If no instance is associated * with the session yet, a new instance is created. * * @param session Optional session object. If this is omitted, the first session of the app is used. * If the app does not have any active sessions (e.g. during unit testing), this argument is mandatory. */ static get(session?: Session): PageResolver; } export interface PageResolverModel extends ObjectModel { session: Session; } //# sourceMappingURL=PageResolver.d.ts.map