import type { ProjectKnowledge, WorkMode } from '../../types/index.js';
export interface ConfigBuildResult {
    planuConfigPath: string;
    planuConfigGenerated: boolean;
    whatsNew: string | null;
}
/**
 * SPEC-131: Detect legal profile, save enriched knowledge, generate planu.json if missing,
 * and check What's New highlights.
 * SPEC-313: Persists workMode in planu.json when provided.
 */
export declare function buildProjectConfig(projectPath: string, projectId: string, knowledge: ProjectKnowledge, workMode?: WorkMode): Promise<ConfigBuildResult>;
//# sourceMappingURL=config-builder.d.ts.map