import Api from "../../Api"; import { BaseService } from "../BaseService"; import { ChatGPTMessageType } from "../../types/chat-gpt-message.type"; export declare class ChatGPTService extends BaseService { private readonly apiKey; model: string; constructor(api: Api, apiKey: string); setModel(model: string): void; send(params: { prompt: string; metadata?: Record; }): Promise; hook(params: { prompt: string; metadata?: Record; response: any; }): Promise; getHistory(params?: { searchBy?: "messages" | "metadata"; searchValue?: string; }): Promise; clearHistory(): Promise; }