import type { TaskType, TaskParams } from "../types"; import type { StreamingCallbacks } from "./types"; export interface StreamingRequestOptions { apiKey: string; text: string; task: TaskType; params?: TaskParams; endpoint?: string; model?: string; signal?: AbortSignal; } /** * Make a streaming request to the AI API. * Returns a promise that resolves when the stream completes. */ export declare function streamingRequest(options: StreamingRequestOptions, callbacks: StreamingCallbacks): Promise; //# sourceMappingURL=streaming.d.ts.map