import type { CatalogConfig } from '@redocly/config'; import type { AfterRoutesCreatedActions, LifecycleContext } from '../../types'; /** * Builds a mapping from route slugs to their corresponding catalog slugs. * * Iterates through all provided catalog configs, resolves their navigation items, * and collects route slugs from the resolved items to create a map that * associates each route slug with its parent catalog slug. * * @param actions - Actions available after routes have been created, providing * access to content directory and route resolution utilities * @param context - Lifecycle context containing filesystem, cache, and logger * utilities needed for resolving navigation items * @param catalogConfigs - Record of catalog configuration objects * @returns Promise that resolves to a Map where keys are route slugs and values * are the corresponding catalog slugs */ export declare function getRouteSlugToCatalogSlugMap(actions: AfterRoutesCreatedActions, context: LifecycleContext, catalogConfigs: Record): Promise>; //# sourceMappingURL=get-route-slug-to-catalog-slug-map.d.ts.map