export interface DeadCodeAnalysis { unusedExports: string[]; unreachableCode: string[]; unusedVariables: string[]; duplicatedLogic: string[]; highComplexityFunctions: string[]; } /** * Build a comprehensive prompt for AI to detect dead code and duplicates. * Optionally targets a specific file or pattern. */ export declare function buildRefactorPrompt(cwd: string, target?: string): string; /** * Build a more focused prompt for dead code cleanup only. */ export declare function buildCleanupPrompt(cwd: string): string; /** * Print a summary of dead code analysis. */ export declare function printDeadCodeAnalysis(analysis: DeadCodeAnalysis): void; export declare function getSourceFiles(cwd: string): string[]; export declare function projectHasTests(cwd: string): boolean;