export interface AIConfig {
    endpoint?: string;
    apiBaseUrl?: string;
    apiKey?: string;
    model?: string;
    timeout?: number;
    headers?: Record<string, string>;
    customRequest?: (prompt: string, onChunk?: (chunk: string) => void, signal?: AbortSignal) => Promise<string>;
}
export declare function callAI(prompt: string, config: AIConfig, onChunk?: (chunk: string) => void, controller?: AbortController): Promise<string>;
//# sourceMappingURL=api.d.ts.map