import { type IRequest, type IResponse } from '../../../../../src/index.js';
export type RouteHandler = (req: IRequest, res: IResponse) => Promise<void> | void;
/**
 * Middleware to strip unknown properties from the request body.
 * Only properties included in the allowedKeys list are preserved.
 */
export declare const withStrictPayloadKeys: (allowedKeys: string[], handler: RouteHandler) => RouteHandler;
//# sourceMappingURL=PayloadSanitizer.d.ts.map