/**
 * OpenAI Batch API Adapter
 *
 * Implements batch processing using OpenAI's Batch API:
 * - 50% cost discount
 * - 24-hour turnaround
 * - Up to 50,000 requests per batch
 *
 * Plus a flex adapter that processes items concurrently for faster turnaround
 * at a similar discount.
 *
 * This file is a small adapter on top of the BatchProvider port (`./provider.js`).
 *
 * @see https://platform.openai.com/docs/guides/batch
 *
 * @packageDocumentation
 */
import { type BatchAdapter, type FlexAdapter } from './provider.js';
/** Configure the OpenAI client. */
export declare function configureOpenAI(options: {
    apiKey?: string;
    baseUrl?: string;
}): void;
declare const openaiAdapter: BatchAdapter;
/**
 * Flex processing uses concurrent requests for faster turnaround than batch
 * (minutes vs 24h) at a similar discount. Ideal for 5–500 items.
 *
 * As of 2026, OpenAI doesn't expose a dedicated "flex" tier API, so this
 * adapter implements concurrent direct chat completions as a middle ground.
 */
declare const openaiFlexAdapter: FlexAdapter;
export { openaiAdapter, openaiFlexAdapter };
//# sourceMappingURL=openai.d.ts.map