/** * Verifies that the given val is a valid HTTP token per the rules defined in RFC 7230. * See {@link https://tools.ietf.org/html/rfc7230#section-3.2.6} * * @param val - The value to check. * @returns True if the value is a valid HTTP token, false otherwise. */ export declare function checkIsHttpToken(val: any): boolean; /** * Hides internal Node.js stack frames for a given function. * * @param fn - The function to hide stack frames for. * @returns The function with hidden stack frames. */ export declare function hideStackFrames(fn: Function): Function; export declare const validateHeaderName: Function; export declare const validateHeaderValue: Function; /** * Validates if the given value is a string. * * @param value - The value to validate. * @param name - The name of the argument being validated. * @throws {@link TypeError} If the value is not a string. */ export declare function validateString(value: any, name?: string): void;