export interface UrlPolicy { /** Only these hosts (and their subdomains) may be opened. */ allowedHosts?: string[]; /** Refuse localhost, link-local and private-network addresses written as IPs. Default true. */ blockPrivateNetworks?: boolean; } /** Normalises an address the model asked to open and refuses anything but * http(s) on an allowed host. A missing scheme means https. */ export declare function checkUrl(input: string, policy?: UrlPolicy): string; //# sourceMappingURL=url-policy.d.ts.map