type OutputStream = 'stderr' | 'stdout'; export type StorybookBrowserBootstrapMilestone = 'context-ready' | 'navigation-requested' | 'orchestrator-connected' | 'page-ready' | 'provider-started' | 'semantic-progress'; type StorybookBrowserBootstrapTerminalStage = 'context-to-page' | 'handshake-after-websocket' | 'launch-or-context' | 'navigation-to-websocket' | 'no-provider-evidence' | 'page-to-navigation' | 'semantic-progress'; export interface StorybookBrowserBootstrapSnapshot { orchestratorDisconnectCount: number; requestFailureCount: number; requestFailureSamples: string[]; targetCrashCount: number; targetDetachCount: number; terminalStage: StorybookBrowserBootstrapTerminalStage; timeline: Array<{ atMs: number; milestone: StorybookBrowserBootstrapMilestone; }>; } interface ConsumedOutput { hasNonDiagnosticOutput: boolean; output: string; } export declare class StorybookBrowserBootstrapTelemetry { private readonly lineBuffers; private readonly milestones; private readonly requestFailureSamples; private readonly timeline; private playwrightBrowserLineCount; private orchestratorDisconnectCount; private requestFailureCount; private targetCrashCount; private targetDetachCount; consume(stream: OutputStream, chunk: string | Buffer, atMs: number): ConsumedOutput; flush(stream: OutputStream, atMs: number): ConsumedOutput; recordSemanticProgress(atMs: number): void; snapshot(): StorybookBrowserBootstrapSnapshot; private consumeLines; private observeLine; private filterLine; private recordMilestone; } export {};