import type { ContentSlugs } from './config-parser/loaders/content-slugs-loader.js'; /** * Creates the canonical fsPath -> route slug function backed by the * precalculated `content-slugs` cache. The cache is the single place where * versioned folders (`@2.0` -> `2.0`, default version -> removed) and custom * slugs are resolved, so every route slug must be derived through it — * registering a route with a hand-built slug bypasses these transforms. * * Extracted from `lifecycle.ts` so plugins that need a base slug before route * creation (e.g. `api-docs`, which bakes absolute links into items at build * time) compute the exact same slug the core route builder will. * * `contentSlugs` may be undefined if the cache entry is unpopulated; slugify * then falls back to computing the slug directly. */ export declare function createSlugify(contentSlugs: ContentSlugs | undefined): (relativePath: string) => string; //# sourceMappingURL=create-slugify.d.ts.map