UNPKG

@anthropic-ai/bedrock-sdk

Version:

The official TypeScript library for the Anthropic Bedrock API

11 lines (10 loc) 451 B
import { type Bytes } from "./line.js"; export declare class JSONLDecoder<T> { private iterator; controller: AbortController; constructor(iterator: AsyncIterableIterator<Bytes>, controller: AbortController); private decoder; [Symbol.asyncIterator](): AsyncIterator<T>; static fromResponse<T>(response: Response, controller: AbortController): JSONLDecoder<T>; } //# sourceMappingURL=jsonl.d.ts.map