Skip to content
File

Blob: src/node/internal/url.d.ts

typescript15 lines
1// Copyright (c) 2017-2022 Cloudflare, Inc.
2// Licensed under the Apache 2.0 license found in the LICENSE file or at:
3// https://opensource.org/licenses/Apache-2.0
4export function domainToASCII(domain: string): string;
5export function domainToUnicode(domain: string): string;
6export function format(
7 href: string,
8 hash: boolean,
9 unicode: boolean,
10 search: boolean,
11 auth: boolean
12): string;
13export function toASCII(input: string): string;
14export function canonicalizeIp(input: string): string;