export declare const Role: { readonly User: "user"; readonly Assistant: "assistant"; readonly System: "system"; }; export type Role = (typeof Role)[keyof typeof Role]; type Mjv = { value: unknown; delta: unknown; schema: unknown; }; export type Message = { id: string; role: Role; content: string; swipes: Array; activeSwipeId: number; sendAt: Date; isStreaming: boolean; mjv?: Mjv; swipeInfo: Array<{ mjv?: Mjv; }>; flags: { saved?: boolean; emptyResponse?: boolean; contentFilter?: boolean; }; }; type MetaChunk = { type: 'meta'; question_id: string; reply_id: string; }; type StreamChunk = { type: 'stream'; choices: [ { delta: { content: string; reasoning: string; }; finish_reason?: string; } ]; isFinished: boolean; }; type MjvChunk = { type: 'mjv'; value: unknown; delta: unknown; schema: unknown; }; export type RawData = MetaChunk | StreamChunk | MjvChunk; export {};