/** * OpenAI (GPT) LLM Provider * * Uses GPT-4 for structured data extraction from research sources. * Default model: gpt-4o-mini (fast and cost-effective) */ import type { LLMProvider, LLMProviderConfig, SynthesisRequest, SynthesisResult, SynthesizeCallback } from '../llm-provider.js'; export declare class OpenAIProvider implements LLMProvider { readonly name = "openai"; readonly model: string; private readonly apiKey; private readonly maxTokens; private readonly temperature; private readonly timeoutMs; private readonly baseUrl; constructor(config?: LLMProviderConfig); isAvailable(): boolean; synthesize(request: SynthesisRequest): Promise; /** * Callback-based synthesize - bypasses Promise limitations after browse timeouts. * The callback is invoked directly when synthesis completes, avoiding Promise.then(). */ synthesizeWithCallback(request: SynthesisRequest, callback: SynthesizeCallback): void; /** * Callback-based API call that doesn't rely on Promise resolution. */ private callAPIWithCallback; private callAPI; } //# sourceMappingURL=openai.d.ts.map