import OpenAI from 'openai'; import { ChatOptions, ChatResponse, ProviderOptions, ModelInfo, IDuckProvider, OpenAIChatParams, OpenAIChatResponse } from './types.js'; import { ConversationMessage, ContentPart } from '../config/types.js'; import { GuardrailsService } from '../guardrails/service.js'; export declare class DuckProvider implements IDuckProvider { protected client: OpenAI; protected options: ProviderOptions; protected guardrailsService?: GuardrailsService; name: string; nickname: string; constructor(name: string, nickname: string, options: ProviderOptions, guardrailsService?: GuardrailsService); protected supportsTemperature(model: string): boolean; chat(options: ChatOptions): Promise; protected createChatCompletion(baseParams: Partial): Promise; healthCheck(): Promise; protected convertContentParts(parts: ContentPart[]): Array<{ type: 'text'; text: string; } | { type: 'image_url'; image_url: { url: string; }; }>; protected prepareMessages(messages: ConversationMessage[], systemPrompt?: string): Array<{ role: string; content: string | Array<{ type: 'text'; text: string; } | { type: 'image_url'; image_url: { url: string; }; }>; }>; listModels(): Promise; getInfo(): { name: string; nickname: string; model: string; type: "http"; availableModels: string[] | undefined; baseURL: string; hasApiKey: boolean; }; } //# sourceMappingURL=provider.d.ts.map