mirror of https://github.com/nodejs/node.git
14 lines
539 B
TypeScript
14 lines
539 B
TypeScript
import type { urlUpdateActions } from 'internal/url'
|
|
|
|
export interface URLBinding {
|
|
urlComponents: Uint32Array;
|
|
|
|
domainToASCII(input: string): string;
|
|
domainToUnicode(input: string): string;
|
|
canParse(input: string): boolean;
|
|
canParse(input: string, base: string): boolean;
|
|
format(input: string, fragment?: boolean, unicode?: boolean, search?: boolean, auth?: boolean): string;
|
|
parse(input: string, base?: string): string | false;
|
|
update(input: string, actionType: typeof urlUpdateActions, value: string): string | false;
|
|
}
|