1 | import { ChecksumConstructor } from "./checksum";
|
2 | import { HashConstructor, StreamHasher } from "./crypto";
|
3 | import { BodyLengthCalculator, Encoder } from "./util";
|
4 | export interface GetAwsChunkedEncodingStreamOptions {
|
5 | base64Encoder?: Encoder;
|
6 | bodyLengthChecker: BodyLengthCalculator;
|
7 | checksumAlgorithmFn?: ChecksumConstructor | HashConstructor;
|
8 | checksumLocationName?: string;
|
9 | streamHasher?: StreamHasher;
|
10 | }
|
11 | export interface GetAwsChunkedEncodingStream<StreamType = any> {
|
12 | (
|
13 | readableStream: StreamType,
|
14 | options: GetAwsChunkedEncodingStreamOptions
|
15 | ): StreamType;
|
16 | }
|