/** * Progress Reporting * * Progress tracking and reporting for AI execution workflows. */ /** * Progress callback function */ export type ProgressCallback = (progress: ExecutionProgress) => void; /** * Execution progress */ export interface ExecutionProgress { stage: ExecutionStage; ticketKey: string; message: string; percentage?: number; details?: Record; } /** * Execution stages */ export type ExecutionStage = "fetching" | "validating" | "building-prompts" | "executing" | "applying-changes" | "testing" | "committing" | "posting" | "complete" | "error"; /** * Progress reporter */ export declare class ProgressReporter { private callbacks; /** * Register progress callback */ onProgress(callback: ProgressCallback): void; /** * Report progress */ report(progress: ExecutionProgress): void; /** * Report stage with message */ reportStage(stage: ExecutionStage, ticketKey: string, message: string, details?: Record): void; /** * Get percentage for stage */ private getStagePercentage; /** * Clear all callbacks */ clear(): void; } /** * Get or create global progress reporter */ export declare function getProgressReporter(): ProgressReporter; /** * Format progress for console output */ export declare function formatProgress(progress: ExecutionProgress): string; //# sourceMappingURL=progress.d.ts.map