mirror of
https://github.com/nodejs/node.git
synced 2024-11-28 22:46:31 +01:00
3867641c14
PR-URL: https://github.com/nodejs/node/pull/47339 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
13 lines
527 B
TypeScript
13 lines
527 B
TypeScript
import type { urlUpdateActions } from 'internal/url'
|
|
|
|
declare function InternalBinding(binding: 'url'): {
|
|
urlComponents: Uint32Array;
|
|
|
|
domainToASCII(input: string): string;
|
|
domainToUnicode(input: string): string;
|
|
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;
|
|
};
|