/**
 * What may go into a response header. Node refuses a header value with a control character or a
 * character outside latin-1 (`ERR_INVALID_CHAR`) when the response is written, long after the
 * handler returned: an unhandled rejection that takes the process down. Anything that reaches a
 * header from a request, a stored record or a disk goes through here first.
 */
/** Whether `value` is a bare `type/subtype` MIME type (no parameters), e.g. `image/png`. */
export declare function isMimeType(value: unknown): value is string;
/**
 * A `Content-Type` safe to send: `value` when its `type/subtype` is well formed and the whole value
 * (parameters included) is visible ASCII, else `fallback`.
 */
export declare function safeContentType(value: string | undefined | null, fallback?: string): string;
/** Whether `value` can go into a header as it is. */
export declare function isHeaderSafe(value: string): boolean;
//# sourceMappingURL=http_safety.d.ts.map