import type { HTTPBody } from "./types.js"; /** * NOTE: Unknown fields (not defined in schema) are silently stripped from the output. * This provides mass-assignment protection by default. */ export declare function validator>(schema: HTTPBody | undefined, data: any, depth?: number, maxDepth?: number): T;