export interface TourRouteCatalogEntry { productId: string; moduleId: string; moduleLabel: string; pageId: string; pageLabel: string; path: string; isModuleHome?: boolean; } export interface TourRouteModuleOption { moduleId: string; label: string; path: string; } export interface TourRoutePageOption { pageId: string; label: string; path: string; } export interface TourContextTarget { productId?: string | null; moduleId?: string | null; pageId?: string | null; } export interface TourCurrentContext { productId: string; moduleId: string | null | undefined; pageId: string | null | undefined; } export declare function normalizeTourPath(path: string): string; /** * Registers an app-owned route catalog for a product. Call the returned cleanup * function from the same React effect that registered it. */ export declare function registerTourRouteCatalog(productId: string | null | undefined, entries: readonly TourRouteCatalogEntry[]): () => void; export declare function getTourRouteCatalog(productId: string | null | undefined): TourRouteCatalogEntry[]; export declare function getTourRouteModules(productId: string | null | undefined): TourRouteModuleOption[]; export declare function getTourRoutePages(productId: string | null | undefined, moduleId: string | null | undefined): TourRoutePageOption[]; export declare function resolveTourTargetPath(tour: TourContextTarget): string | undefined; export declare function isTourVisibleForContext(tour: TourContextTarget, context: TourCurrentContext): boolean; export declare function getTourContextRank(tour: TourContextTarget, context: TourCurrentContext): number; //# sourceMappingURL=routeCatalog.d.ts.map