export declare function generateSessionId(): string;
/**
 * Closes unclosed markdown code blocks and table rows
 * to prevent rendering glitches during streaming.
 */
export declare function sanitizeStreamingMarkdown(text: string): string;
