import type { RequestHandler, Response } from 'express-serve-static-core'; /** * Flags the response to forgo the standard response envelope * and return the raw response body to the client * @param res The response to disable the standard response format on */ export declare const setRawResponseFormat: (res: Response) => void; /** * Clears any flags on the response, allowing the response to * use the default standard response envelope * @param res The response to set to the standard response format */ export declare const clearRawResponseFormat: (res: Response) => void; /** * Checks if there are any flags on the response that would cause it * to forgo the standard response envelope and return the raw response * body to the client * @param res * @returns True if there are any flags on the response, false otherwise */ export declare const isRawResponseFormatSet: (res: Response) => boolean; /** * Connect middleware to enable the transform of all responses to match * the standard response format (compatible with JSON API) */ export declare const standardResponses: RequestHandler; //# sourceMappingURL=standardResponses.d.ts.map