/** * Types for `request-limits.mjs`, which is plain JavaScript so `server.js` can * load it before the app. The spec in `src/` is type-checked, so the signatures * are written down here once. */ /** The allowance for a route no rule names. */ export const DEFAULT_BODY_BYTES: number; /** The allowance for a route that carries a document. */ export const PROSE_BODY_BYTES: number; /** The allowance for an import and its preview. */ export const IMPORT_BODY_BYTES: number; /** The body allowance for a request target, in bytes. */ export function bodyLimitFor(target: string | null | undefined): number;