/** * Whether a character can change what a URL means without showing it. The * URL parser silently drops tabs and newlines, so a value that parses can * still carry hidden text. * @internal */ export declare const isHiddenCharacter: (character: string) => boolean; /** * Validate a hosted consent backend URL and normalize it. * @param input Backend URL as the user or host supplied it. * @returns The parsed URL, without a trailing slash when it has no path. * @throws {Error} When the URL contains whitespace or control characters, * does not parse, is not HTTP or HTTPS, or embeds credentials. * @example * readBackendURL('https://Consent.Example.com/'); // 'https://consent.example.com' */ export declare const readBackendURL: (input: string) => string;