import { URI } from "../../../base/common/uri.js"; /** * Check whether a domain like https://www.microsoft.com matches * the list of trusted domains. * * - Schemes must match * - There's no subdomain matching. For example https://microsoft.com doesn't match https://www.microsoft.com * - Star matches all subdomains. For example https://*.microsoft.com matches https://www.microsoft.com and https://foo.bar.microsoft.com */ export declare function isURLDomainTrusted(url: URI, trustedDomains: string[]): boolean; /** * Case-normalize some case-insensitive URLs, such as github. */ export declare function normalizeURL(url: string | URI): string; export declare function isLocalhostAuthority(authority: string): boolean;