import type { LlmAdapter, LlmOptions, LlmResponse, ChatMessage, OpenAIConfig } from "./llm-types";
/**
 * OpenAI Adapter — For rapid code refactoring, structured JSON output,
 * and native function calling. Works with any OpenAI-compatible API.
 */
export declare class OpenAIAdapter implements LlmAdapter {
    readonly provider: "openai";
    private config;
    get name(): string;
    constructor(config: {
        apiKey: string;
    } & Partial<Omit<OpenAIConfig, "apiKey">>);
    available(): Promise<boolean>;
    chat(messages: ChatMessage[], options?: LlmOptions): Promise<LlmResponse>;
    private toOpenAITool;
    private safeParseArgs;
}
//# sourceMappingURL=openai-adapter.d.ts.map