///
import { IncomingMessage as Req, ServerResponse as Res } from 'node:http';
export type FormatProps = {
default?: () => void;
} & Record;
export type FormatError = Error & {
status: number;
statusCode: number;
types: string[];
};
type next = (err?: FormatError) => void;
export declare const formatResponse: = Res, Next extends next = next>(req: Request_1, res: Response_1, next: Next) => (obj: FormatProps) => Response_1;
export {};
//# sourceMappingURL=format.d.ts.map