import { type ShortcutXLModelInvokeResponse } from '../contracts/model-call.js';
import type { ShortcutXLAiModelInvokeRequest, ShortcutXLAiModelStreamRequest } from '../contracts/wire.js';
import type { ShortcutXLModelUsageStatusLogger } from './model-call-orchestrator.js';
import type { RunShortcutXLModelStreamRequestOptions } from './stream.js';
export interface OpenAICompletionsGatewayAuth {
    readonly headerName: 'Authorization' | 'x-api-key';
    readonly token: string;
}
export interface OpenAICompletionsTransportOptions {
    readonly auth: OpenAICompletionsGatewayAuth;
    readonly baseUrl: string;
    readonly fetchImpl?: typeof fetch;
    readonly fetchOptions?: RequestInit;
    readonly headers?: Readonly<Record<string, string | null>>;
    readonly qwenCompatibility?: {
        readonly disableThinkingForSuggestions?: boolean;
    };
    readonly usageStatusLogger?: ShortcutXLModelUsageStatusLogger;
}
export declare function streamAiOpenAICompletionsModelRequest(request: ShortcutXLAiModelStreamRequest, options: OpenAICompletionsTransportOptions & {
    readonly onEvent: RunShortcutXLModelStreamRequestOptions['onEvent'];
    readonly signal?: AbortSignal;
}): Promise<void>;
export declare function invokeOpenAICompletionsModel(request: ShortcutXLAiModelInvokeRequest, options: OpenAICompletionsTransportOptions & {
    readonly signal?: AbortSignal;
    readonly usageRequestId: string;
}): Promise<ShortcutXLModelInvokeResponse>;
//# sourceMappingURL=openai-completions-transport.d.ts.map