open-next-cdk
Version:
Deploy a NextJS app using OpenNext packaging to serverless AWS using CDK
6 lines (5 loc) • 303 B
TypeScript
import { ChecksumConstructor, HashConstructor } from "@smithy/types";
/**
* A function that, given a hash constructor and a string, calculates the hash of the string.
*/
export declare const stringHasher: (checksumAlgorithmFn: ChecksumConstructor | HashConstructor, body: any) => Promise<Uint8Array>;