/** * @octomil/browser — Streaming inference engine * * Wraps server-sent events / streaming HTTP responses for incremental * inference results (text generation, audio, video, image tiles). */ import type { StreamingOptions, StreamingChunk, StreamingResult } from "./types.js"; import type { TelemetryReporter } from "./telemetry.js"; export declare class StreamingInferenceEngine { private readonly serverUrl; private readonly apiKey?; private readonly telemetry?; constructor(options: { serverUrl: string; apiKey?: string; telemetry?: TelemetryReporter; }); /** * Stream inference results from the server. * * Returns an async iterable of chunks. Supports cancellation via AbortSignal. */ stream(modelId: string, input: Record, options?: StreamingOptions): AsyncGenerator; private combineSignals; } //# sourceMappingURL=streaming.d.ts.map