import { type DiagnosticPhaseDetails, type DiagnosticPhaseSnapshot } from "../infra/diagnostic-events.js"; export declare function getCurrentDiagnosticPhase(): string | undefined; export declare function getRecentDiagnosticPhases(limit?: number): DiagnosticPhaseSnapshot[]; export declare function recordDiagnosticPhase(snapshot: DiagnosticPhaseSnapshot): void; export declare function withDiagnosticPhase(name: string, run: () => Promise | T, details?: DiagnosticPhaseDetails): Promise; export declare function resetDiagnosticPhasesForTest(): void;