/** * Reserved Slugs for Pages System * * This file contains all slugs that cannot be used for dynamic pages * to prevent conflicts with system routes, API endpoints, and existing entities. * * Auto-updated by build-registry.mjs to include entity slugs from ENTITY_REGISTRY */ export declare const RESERVED_SLUGS: readonly ["api", "auth", "admin", "login", "register", "dashboard", "signin", "signout", "signup", "verify", "reset-password", "forgot-password", "_next", "_vercel", "_error", "_document", "_app", "public", "static", "assets", "images", "theme", "favicon.ico", "robots.txt", "sitemap.xml", "manifest.json", "app", "core", "lib", "components", "utils", "styles", "fonts", "index", "home", "page", "post", "posts", "blog", "article", "articles", "v1", "v2", "v3"]; export type ReservedSlug = (typeof RESERVED_SLUGS)[number]; /** * Check if a slug is reserved */ export declare function isReservedSlug(slug: string): boolean; /** * Validate a slug for pages system * Returns error message if invalid, null if valid */ export declare function validatePageSlug(slug: string): string | null; /** * Generate a slug from a string (typically a title) */ export declare function generateSlug(input: string): string; /** * Suggest alternative slugs if the current one is taken or reserved */ export declare function suggestAlternativeSlug(slug: string, existingSlugs?: string[]): string[]; //# sourceMappingURL=reserved-slugs.d.ts.map