UNPKG

open-next-cdk

Version:

Deploy a NextJS app using OpenNext packaging to serverless AWS using CDK

4 lines (3 loc) 381 B
import { EndpointBearer, RequestSerializer, SerializeMiddleware } from "@smithy/types"; import type { V1OrV2Endpoint } from "./serdePlugin"; export declare const serializerMiddleware: <Input extends object, Output extends object, RuntimeUtils extends EndpointBearer>(options: V1OrV2Endpoint, serializer: RequestSerializer<any, RuntimeUtils>) => SerializeMiddleware<Input, Output>;