import type { StandardSchemaV1 } from './types.ts'; /** * A route `request` can be a single Standard Schema (validates any body) or a * **content-type map** — `{ 'application/json': schemaA, 'multipart/form-data': * schemaB }` — which validates with the schema matching the request's * `Content-Type`. The map shape mirrors OpenAPI's `requestBody.content`. */ export type RequestContentTypeMap = Record; /** * Distinguish a content-type map from a Standard Schema. A schema carries * `~standard`; a map does not, and its keys are media types (contain `/`). */ export declare function isContentTypeRequestMap(request: unknown): request is RequestContentTypeMap; /** * Normalize a `Content-Type` header to its media type, dropping parameters * (`; charset=...`, `; boundary=...`) and casing. Returns `null` when absent. */ export declare function normalizeContentType(header: string | string[] | undefined): string | null;