UNPKG

243 BTypeScriptView Raw
1import {
2 ChecksumConstructor,
3 HashConstructor,
4 HttpRequest,
5} from "@aws-sdk/types";
6export declare const getPayloadHash: (
7 { headers, body }: HttpRequest,
8 hashConstructor: ChecksumConstructor | HashConstructor
9) => Promise<string>;