import { OnDestroy } from "@angular/core"; import type { AIAttachment, AIMessage } from "../../../types/ai"; export declare class AIStreamService implements OnDestroy { private connections; connect(path: string, conversationId?: string): { branch: (messageId: string, content: string) => void; cancel: () => void; edit: (messageId: string, content: string) => void; error: import("@angular/core").Signal; isStreaming: import("@angular/core").Signal; messages: import("@angular/core").Signal; send: (content: string, attachments?: AIAttachment[]) => void; }; private createHandle; ngOnDestroy(): void; }