import type { MiddlewareHandler } from 'hono/types'; /** Whether a route declares a form body, so its validator will parse one. */ export declare const hasFormBody: (opts: { content?: Record; }) => boolean; /** * Parses a declared form body just ahead of the route's validator, which reads the cached result. * Left to the validator, a malformed body is a bare `HTTPException(400)` carrying the parser's own * text and no code; read here, it is `core.request.body_malformed`. */ export declare const formBodyReader: MiddlewareHandler; //# sourceMappingURL=form-body.middleware.d.ts.map