/** * Templates module for generating configuration files * This module now serves as a wrapper that routes to the appropriate implementation * based on the detected project structure (App Directory vs Pages Directory) */ import type { AvailablePackages, DevelopmentEnvironment } from '../../../context/framework-detection.js'; import type { ExpandedTheme, UIStyle } from '../prompts/index.js'; interface UpdateReactLayoutOptions { developmentEnvironment?: DevelopmentEnvironment; projectRoot: string; mode: string; backendURL?: string; pkg: AvailablePackages; proxyNextjs?: boolean; enableSSR?: boolean; enableDevTools?: boolean; uiStyle?: UIStyle; expandedTheme?: ExpandedTheme; selectedScripts?: string[]; } interface ComponentFilePaths { consentManager: string; consentManagerDir?: string; } export declare function updateReactLayout(options: UpdateReactLayoutOptions): Promise<{ updated: boolean; filePath: string | null; alreadyModified: boolean; componentFiles?: ComponentFilePaths; }>; export {};