import { type Completions, type ChatCompletionMessageParam, type ChatCompletionCreateParamsNonStreaming } from 'openai/resources/chat/completions'; import { type RunnableFunctions, type BaseFunctionsArgs, RunnableTools } from "./RunnableFunction.js"; import { AbstractChatCompletionRunner, AbstractChatCompletionRunnerEvents, RunnerOptions } from "./AbstractChatCompletionRunner.js"; export interface ChatCompletionRunnerEvents extends AbstractChatCompletionRunnerEvents { content: (content: string) => void; } export type ChatCompletionFunctionRunnerParams = Omit & { functions: RunnableFunctions; }; export type ChatCompletionToolRunnerParams = Omit & { tools: RunnableTools; }; export declare class ChatCompletionRunner extends AbstractChatCompletionRunner { /** @deprecated - please use `runTools` instead. */ static runFunctions(completions: Completions, params: ChatCompletionFunctionRunnerParams, options?: RunnerOptions): ChatCompletionRunner; static runTools(completions: Completions, params: ChatCompletionToolRunnerParams, options?: RunnerOptions): ChatCompletionRunner; _addMessage(message: ChatCompletionMessageParam): void; } //# sourceMappingURL=ChatCompletionRunner.d.ts.map