/**
 * OpenAI Provider for SpecVerse
 * Supports GPT-4, GPT-3.5-turbo, and other OpenAI models
 */
import { LLMProvider, LLMProviderConfig, LLMCompletionOptions, LLMCompletionResponse, LLMStreamChunk } from './llm-provider.js';
export interface OpenAIConfig extends LLMProviderConfig {
    organization?: string;
    project?: string;
}
export declare class OpenAIProvider extends LLMProvider {
    private baseURL;
    private headers;
    constructor(config: OpenAIConfig);
    complete(options: LLMCompletionOptions): Promise<LLMCompletionResponse>;
    stream(options: LLMCompletionOptions): AsyncIterable<LLMStreamChunk>;
    test(): Promise<boolean>;
    getInfo(): {
        name: string;
        version: string;
        models: string[];
        capabilities: string[];
    };
    private makeRequest;
    private convertMessage;
    private convertResponse;
    private convertStreamChunk;
    protected validateConfig(): void;
}
/**
 * Factory function to create OpenAI provider
 */
export declare function createOpenAIProvider(config: {
    apiKey: string;
    model?: string;
    organization?: string;
    project?: string;
    baseURL?: string;
}): OpenAIProvider;
//# sourceMappingURL=openai-provider.d.ts.map