/// <reference types="qs" />
/**
 * Middleware function that injects the requester's IP address into the request body.
 * Only allows PUT, POST, PATCH, and DELETE methods by default.
 *
 * @param Methods - Optional array of allowed HTTP methods. Defaults to PUT, POST, PATCH, and DELETE.
 * @returns Express middleware function.
 */
import { Request, NextFunction, Response } from "express";
declare const _default: (Methods?: string[]) => (Request: Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>, Response: Response<any, Record<string, any>>, Next: NextFunction) => void;
export default _default;
