import type { ChatStreamState } from "../../runtime/chat-stream-handler.js"; import type { ChatStreamEvent } from "../../../chat/protocol.js"; import type { StreamLifecycleFrame, StreamSnapshot, StreamUsage } from "./types.js"; export declare function createStreamLifecycleLiveAdapter(input: { textPartId?: string; }): { encode(frame: StreamLifecycleFrame): ChatStreamEvent[]; }; export declare function toLegacyRuntimeUsage(usage: StreamUsage): ChatStreamState["usage"]; export declare function applyLifecycleSnapshotToChatStreamState(state: ChatStreamState, snapshot: Readonly): void; //# sourceMappingURL=live-adapter.d.ts.map