/** * Granular Protected Paths Configuration * * Three-level protection system for fine-grained theme override control: * - PROTECTED_ALL: Blocks both component and metadata overrides (maximum security) * - PROTECTED_RENDER: Allows metadata overrides, blocks component overrides (logic protection) * - PROTECTED_METADATA: Allows component overrides, blocks metadata overrides (brand consistency) * * SECURITY ARCHITECTURE: * - Authentication layouts use PROTECTED_RENDER (allow branding, protect auth logic) * - Core security boundaries use PROTECTED_ALL (complete protection) * - Brand-critical layouts use PROTECTED_METADATA (consistent messaging) */ export declare const ProtectionLevel: { readonly NONE: "none"; readonly PROTECTED_METADATA: "protected_metadata"; readonly PROTECTED_RENDER: "protected_render"; readonly PROTECTED_ALL: "protected_all"; }; export type ProtectionLevel = typeof ProtectionLevel[keyof typeof ProtectionLevel]; export declare const PROTECTED_PATHS: { readonly 'app/layout.tsx': "protected_render"; readonly 'app/dashboard/layout.tsx': "protected_all"; }; export type ProtectedPath = keyof typeof PROTECTED_PATHS; /** * Get protection level for a specific path * @param appPath - The app path to check * @returns Protection level or NONE if not protected */ export declare function getProtectionLevel(appPath: string): ProtectionLevel; /** * Check if a template path is protected from ANY override * @param appPath - The app path that would be overridden * @returns True if the path has any protection level */ export declare function isProtectedPath(appPath: string): boolean; /** * Check if component override is allowed * @param appPath - The app path to check * @returns True if component can be overridden */ export declare function canOverrideComponent(appPath: string): boolean; /** * Check if metadata override is allowed * @param appPath - The app path to check * @returns True if metadata can be overridden */ export declare function canOverrideMetadata(appPath: string): boolean; /** * Get human-readable protection description * @param appPath - The app path to describe * @returns Description of protection level */ export declare function getProtectionDescription(appPath: string): string; /** * Get all protected paths with their levels */ export declare function getAllProtectedPaths(): Record; /** * Legacy compatibility - returns paths with ANY protection level */ export declare function getProtectedPathsList(): string[]; //# sourceMappingURL=protected-paths.d.ts.map