import type { OpenAiTextCompletionResult, OpenAiTextRequest, OpenAiTextStreamResult } from "./types.js";
export declare function completeOpenAiChatText({ modelId, openaiConfig, context, temperature, maxOutputTokens, signal, fetchImpl, }: OpenAiTextRequest): Promise<OpenAiTextCompletionResult>;
export declare function streamOpenAiChatText({ modelId, openaiConfig, context, temperature, maxOutputTokens, signal, fetchImpl, }: OpenAiTextRequest): Promise<OpenAiTextStreamResult>;
