import { CallAIOptions, Message, StreamResponse, ThenableStreamResponse } from "./types.js"; import { PACKAGE_VERSION } from "./version.js"; declare function callAi(prompt: string | Message[], options?: CallAIOptions): Promise | ThenableStreamResponse; declare function bufferStreamingResults(generator: AsyncGenerator): Promise; declare function createBackwardCompatStreamingProxy(promise: Promise): ThenableStreamResponse; declare function prepareRequestParams(prompt: string | Message[], options?: CallAIOptions): { messages: Message[] | { role: string; content: string; }[]; apiKey: string; }; export { callAi, bufferStreamingResults, createBackwardCompatStreamingProxy, prepareRequestParams, PACKAGE_VERSION };