import { EventStreamCodec } from "@smithy/eventstream-codec"; import { Encoder, Message } from "@smithy/types"; /** * @internal */ export type UnmarshalledStreamOptions = { eventStreamCodec: EventStreamCodec; deserializer: (input: Record) => Promise; toUtf8: Encoder; }; /** * @internal */ export declare function getUnmarshalledStream>(source: AsyncIterable, options: UnmarshalledStreamOptions): AsyncIterable; /** * @internal */ export declare function getMessageUnmarshaller>(deserializer: (input: Record) => Promise, toUtf8: Encoder): (input: Message) => Promise;