export interface ProjectDeclarationInput { id: string; dir: string; kind?: "frontend-end" | "backend" | "shared"; deployable?: boolean; release_unit?: boolean; tech_stack?: { lang: string; framework: string; }; } export interface ApplyProjectsResult { success: boolean; applied: number; replaced_count?: number; error?: string; next_step: string; } /** * 应用用户确认的工程目录声明(端模块)。 * * @param projectRoot 项目根 * @param confirmedProjects 用户确认的端模块与工程目录 */ export declare function applyProjectsOverrides(projectRoot: string, confirmedProjects: ProjectDeclarationInput[]): Promise;