import { AiService } from '../ai'; import { RunService } from '../run'; import { ChatCallCallbacks, ChatCallDto, ChatCallResponseDto } from './chat.model'; import { ChatHelpers } from './chat.helpers'; import { Message } from 'openai/resources/beta/threads'; import { AssistantStream } from 'openai/lib/AssistantStream'; export declare class ChatService { private readonly aiService; private readonly runService; private readonly chatbotHelpers; provider: import("openai").OpenAI; threads: import("openai/resources/beta/threads").Threads; constructor(aiService: AiService, runService: RunService, chatbotHelpers: ChatHelpers); call(payload: ChatCallDto, callbacks?: ChatCallCallbacks): Promise; createMessage(payload: ChatCallDto): Promise; getAssistantStream(payload: ChatCallDto): Promise; }