import { Message } from "./Message.js"; import { ContentPart } from "./Content.js"; import { ChatOptions } from "./ChatOptions.js"; import { Provider, ChatChunk } from "../providers/Provider.js"; import { Stream } from "../streaming/Stream.js"; import { AskOptions } from "./Chat.js"; /** * Internal handler for chat streaming logic. * Wraps the provider's stream with side effects like history updates and events. */ export declare class ChatStream { private readonly provider; private readonly model; private readonly options; private messages; private systemMessages; constructor(provider: Provider, model: string, options?: ChatOptions, messages?: Message[], systemMessages?: Message[]); get history(): readonly Message[]; create(content: string | ContentPart[], options?: AskOptions): Stream; } //# sourceMappingURL=ChatStream.d.ts.map