import type { Schema } from "../../extensions/schema/index.js"; import { type ParseFormOptions, type ParseJsonOptions, type ParseQueryOptions, type RequestLimits } from "./types.js"; /** Parse and validate a JSON request body. */ export declare function parseJsonBody(request: Request, schema: Schema, options?: ParseJsonOptions): Promise; /** * Parse JSON after the caller has applied `validateRequestLimits()`. * * @internal This keeps composite request boundaries from repeating the * URL/header/content-length checks while preserving `parseJsonBody()` as a * safe standalone API. */ export declare function parseJsonBodyAfterRequestLimits(request: Request, schema: Schema, limits: Required): Promise; /** Parse and validate multipart or URL-encoded form data. */ export declare function parseFormData(request: Request, schema: Schema, options?: ParseFormOptions): Promise; /** Parse and validate query parameters from a bounded request URL. */ export declare function parseQueryParams(request: Request, schema: Schema, options?: ParseQueryOptions): T; /** * Parse query parameters after the caller has applied `validateRequestLimits()`. * * @internal Composite request boundaries use this to avoid repeating URL and * header validation. */ export declare function parseQueryParamsAfterRequestLimits(request: Request, schema: Schema): T; //# sourceMappingURL=parsers.d.ts.map