import type { ChatMessage } from "./types/chat.js"; import type { ChatStreamEvent } from "./chat-api-types.js"; import type { ChatScope } from "./types/chat.js"; import type { ChatContinuityMeta } from "./chat-continuity.js"; export declare function eventsForStoredMessage(message: ChatMessage): ChatStreamEvent[]; export declare function renderServerSentEvents(events: ChatStreamEvent[]): string; export declare function staleContinuityStreamEvents(input: { requestId: string; threadId: string; scope: ChatScope; continuity: ChatContinuityMeta; }): ChatStreamEvent[]; export declare function errorStreamEvents(input: { requestId: string; threadId: string; scope: ChatScope; code: string; message: string; retryable: boolean; }): ChatStreamEvent[];