import OpenAI from 'openai'; export interface RepairContext { readonly content: string; readonly error: string; } export declare const DEFAULT_BASE_URL = "https://openrouter.ai/api/v1"; export declare function requestTimeout(promptLength: number): number; export declare function createClient(apiKey: string, baseURL?: string): OpenAI; export declare function callAI(client: OpenAI, model: string, systemPrompt: string, userPrompt: string, format?: 'json' | 'text', repair?: RepairContext): Promise; //# sourceMappingURL=openrouter.d.ts.map