import { ExpsNextFunction, ExpsRequest, ExpsResponse } from '../TYPES'; /** * Middleware to encrypt the payload from the request body. * * This middleware retrieves the plaintext encryption key from the context, * encrypts the payload using the ApiCrypto module, and then sets the encrypted payload * back into the response body. * * @export * @param {ExpsRequest} request - The Express request object. * @param {ExpsResponse} response - The Express response object. * @param {ExpsNextFunction} next - The next middleware function in the stack. */ export declare function encryptPayload(request: ExpsRequest, response: ExpsResponse, next: ExpsNextFunction): void;