Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
792 B
Text
23 lines
792 B
Text
import type { Decoder, Encoder, EventStreamMarshaller as IEventStreamMarshaller, Message } from "@smithy/types";
|
|
/**
|
|
* @internal
|
|
*/
|
|
export interface EventStreamMarshaller extends IEventStreamMarshaller {
|
|
}
|
|
/**
|
|
* @internal
|
|
*/
|
|
export interface EventStreamMarshallerOptions {
|
|
utf8Encoder: Encoder;
|
|
utf8Decoder: Decoder;
|
|
}
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare class EventStreamMarshaller {
|
|
private readonly eventStreamCodec;
|
|
private readonly utfEncoder;
|
|
constructor({ utf8Encoder, utf8Decoder }: EventStreamMarshallerOptions);
|
|
deserialize<T>(body: AsyncIterable<Uint8Array>, deserializer: (input: Record<string, Message>) => Promise<T>): AsyncIterable<T>;
|
|
serialize<T>(inputStream: AsyncIterable<T>, serializer: (event: T) => Message): AsyncIterable<Uint8Array>;
|
|
}
|