import { ProjectType } from '../detector'; export interface ChangeStats { totalLines: number; linesAdded: number; linesDeleted: number; filesChanged: number; swiftFiles?: number; objcFiles?: number; kotlinFiles?: number; javaFiles?: number; uiFiles?: number; dependencyChanged?: boolean; projectConfigChanged?: boolean; docFiles?: number; configFiles?: number; totalCodeFiles: number; totalNonCodeFiles: number; } export interface ChangeAnalysis { recommendation: 'should_build' | 'skip' | 'maybe'; reason: string; confidence: 'high' | 'medium' | 'low'; stats: ChangeStats; } export interface PRStatus { exists: boolean; number: number | null; title: string | null; isDraft: boolean; state: 'OPEN' | 'MERGED' | 'CLOSED' | 'NONE'; url: string | null; checksStatus: 'passing' | 'failing' | 'pending' | 'unknown'; } export interface BuildControlStatus { pr: PRStatus; autoBuildEnabled: boolean; analysis: ChangeAnalysis | null; lastBuildTime: string | null; } /** * Analyze code changes between current branch and base branch */ export declare function analyzeChanges(baseBranch: string | undefined, projectType: ProjectType): ChangeAnalysis; /** * Get PR status including draft state */ export declare function getPRStatus(): PRStatus; /** * Toggle PR ready/draft status */ export declare function togglePRReady(makeDraft: boolean): { success: boolean; message: string; }; /** * Get complete build control status */ export declare function getBuildControlStatus(projectType: ProjectType, baseBranch?: string): BuildControlStatus; //# sourceMappingURL=build-control.d.ts.map