/** * Greenfield detection for init flow * * Default assumption: brownfield. Only classify as greenfield when * the repo is provably empty (no source files, no real dependencies). * * Part of 0200-init-two-phase-redesign */ export interface GreenfieldResult { isGreenfield: boolean; reason: string; } /** * Check if a project is greenfield (empty/placeholder repo). * * Returns true ONLY when the repo has no source files and no real dependencies. * Default is false (brownfield) — we assume existing code unless proven empty. */ export declare function isGreenfield(projectPath: string): boolean; /** * Detailed greenfield check with reason. */ export declare function isGreenfieldDetailed(projectPath: string): GreenfieldResult; /** * Returns true if ALL repos are greenfield (empty). * If any repo has code, returns false (brownfield). */ export declare function isGreenfieldMultiRepo(repoPaths: string[]): boolean; //# sourceMappingURL=greenfield-detection.d.ts.map