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