/**
 * OpenAI (and OpenAI-compatible) adapter. Uses the `/v1/models` listing
 * endpoint with Bearer auth. Hostname is fixed (api.openai.com) so no SSRF
 * validation is needed here.
 */
import type { AIConnectionTestResult } from '../types.js';
import { type AdapterContext, type GenerateTextOptions, type GenerateTextResult } from './http.js';
export declare function testConnection(ctx: AdapterContext): Promise<AIConnectionTestResult>;
export declare function listModels(ctx: AdapterContext): Promise<string[]>;
export declare function generateText(ctx: AdapterContext, opts: GenerateTextOptions): Promise<GenerateTextResult>;
//# sourceMappingURL=openai.d.ts.map