/** * Returns true if the host string is localhost or 127.0.0.1. */ export declare function isLocalhost(host?: string): boolean; /** * Returns true when the protocol + hostname pair represents a secure origin. * @param protocol - URL-style protocol string (e.g. 'https:') * @param hostname - hostname string (e.g. 'example.com') */ export declare function isSecureOrigin(protocol: string, hostname: string): boolean; /** * Extracts normalized origin from a URL string, returns null on failure. */ export declare function tryNormalizeOrigin(value: string): string | null; //# sourceMappingURL=url-utils.d.ts.map