/** * bootstrap-diagnostics-buffer — per-process buffer for bootstrap {@link CliDiagnostic}s * gathered before a {@link RunScope} exists (ADR-0060, Phase 3/5). * * Discovery and startup legs record here; the composition root transfers the * snapshot onto the per-run scope in `buildPerRunScope`. */ import { BootstrapDiagnosticsCollector, type CliDiagnostic } from '@opensip-cli/core'; export { createStartupTimer, type StartupTimingEvent } from './startup-timing.js'; /** Reset and return a fresh bootstrap diagnostics buffer (call once per bootstrap). */ export declare function resetBootstrapDiagnosticsBuffer(): BootstrapDiagnosticsCollector; /** The active bootstrap buffer, lazily created when callers record outside bootstrap. */ export declare function getBootstrapDiagnosticsBuffer(): BootstrapDiagnosticsCollector; /** Snapshot every diagnostic buffered during startup discovery/load. */ export declare function takeBootstrapDiagnostics(): readonly CliDiagnostic[]; //# sourceMappingURL=bootstrap-diagnostics-buffer.d.ts.map