/** * @module HttpRouter */ import { type ReqInputs, type FileInputs, type StringInputs, type IValidatedHttpReq, type HttpReqFiles, type IHttpFileCollection, type HttpReqSchemas, type IHttpReqBase } from "../../http-router/contracts/_module.js"; import { type UndefinedToNull } from "../../utilities/_module.js"; /** * @internal */ export declare class ValidatedHttpReq implements IValidatedHttpReq { private readonly req; private readonly schemas; constructor(req: IHttpReqBase, schemas: HttpReqSchemas); json(): Promise; fields(): Promise; fields(field: TField): Promise>; private validateFormFiles; private collectFiles; private resolveFileDefs; private validateSingleFile; private validateFileCount; files(): Promise>; files(field: TField): Promise; params(): TReqParams; params(field: TField): UndefinedToNull; searchParams(): TReqSearchParams; searchParams(field: TField): UndefinedToNull; headers(): TReqHeaders; headers(field: TField): UndefinedToNull; cookies(): TCookieData; cookies(field: TField): UndefinedToNull; }