import type { ChatStreamState } from "./chat-stream-handler.js"; export type StreamLifecycleShadowDivergence = "text" | "reasoning" | "tool_input" | "tool_result" | "finish_reason" | "usage" | "outcome" | "shadow_error"; export interface StreamLifecycleShadowReport { count: number; categories: readonly StreamLifecycleShadowDivergence[]; } export interface StreamLifecycleShadow { observePart(part: unknown): void; compareLegacySnapshot(state: ChatStreamState): StreamLifecycleShadowReport; } export declare function createStreamLifecycleShadow(options: { availableToolNames: readonly string[] | null; providerExecutedToolNames: readonly string[]; }): StreamLifecycleShadow; //# sourceMappingURL=stream-lifecycle-shadow.d.ts.map