/**
 * Custom OpenAI-compatible provider adapter. The base URL is admin-controlled,
 * so it is SSRF-validated and DNS-resolved before any request. Falls back to an
 * empty model list (manual entry in the UI) when the endpoint doesn't support
 * `/models`.
 */
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=custom.d.ts.map