UNPKG

@anthropic-ai/bedrock-sdk

Version:

The official TypeScript library for the Anthropic Bedrock API

10 lines (9 loc) 582 B
import { EventStreamSerdeContext, SerdeContext } from '@smithy/types'; import { Stream as CoreStream } from '@anthropic-ai/sdk/streaming'; export declare const toUtf8: (input: Uint8Array) => string; export declare const fromUtf8: (input: string) => Uint8Array; export declare const getMinimalSerdeContext: () => SerdeContext & EventStreamSerdeContext; export declare class Stream<Item> extends CoreStream<Item> { static fromSSEResponse<Item>(response: Response, controller: AbortController): Stream<Item>; } //# sourceMappingURL=streaming.d.ts.map