import type { AgentStreamIntegrityReport } from "@agent-native/agentkit/protocol"; export declare const AGENTKIT_STREAM_INTEGRITY_EVENT = "agentkit_stream_integrity"; /** * AgentKit detects these but cannot fix them, and every one is silent from the * user's side: a gap or duplicate means the transport and the reducer disagree * about ordering, a missing terminal makes a finished run look frozen, and a * dropped promotion means a queued follow-up never runs. Counting them by * surface is what makes a bad migration attributable to the surface that * regressed rather than to AgentKit in general. */ export declare function createAgentKitIntegrityReporter(surface: string): (report: AgentStreamIntegrityReport) => void;