import { HashConstructor, StreamHasher } from "./crypto";
import { BodyLengthCalculator, Encoder } from "./util";
export interface GetAwsChunkedEncodingStreamOptions {
  base64Encoder?: Encoder;
  bodyLengthChecker: BodyLengthCalculator;
  checksumAlgorithmFn?: HashConstructor;
  checksumLocationName?: string;
  streamHasher?: StreamHasher;
}
export interface GetAwsChunkedEncodingStream<StreamType = any> {
  (
    readableStream: StreamType,
    options: GetAwsChunkedEncodingStreamOptions
  ): StreamType;
}
