mirror of
https://github.com/nodejs/node.git
synced 2024-11-25 16:34:05 +01:00
da7962fd4d
PR-URL: https://github.com/nodejs/node/pull/49742 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
13 lines
489 B
TypeScript
13 lines
489 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;
|
|
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;
|
|
}
|