import { AbortablePromise, Ai } from './ai.ts'; import { LLMRequest } from './llm.ts'; import { LLMProvider } from './provider.ts'; import { TokenPool } from './token-pool.ts'; export declare class OpenAi extends LLMProvider { readonly ai: Ai; readonly host: string | null; readonly token: string | string[]; model: string; tokenPool: TokenPool; private clients; constructor(ai: Ai, host: string | null, token: string | string[], model: string); private getClient; private toWireContent; /** Convert standard history -> OpenAI wire format */ private toWire; ask(message: string, options?: LLMRequest): AbortablePromise; }