UNPKG

590 BTypeScriptView Raw
1import { Globals } from "webidl-conversions";
2import { implementation as URLSearchParamsImpl } from "./URLSearchParams-impl";
3
4declare class URLImpl {
5 constructor(globalObject: Globals, constructorArgs: readonly [url: string, base?: string]);
6
7 href: string;
8 readonly origin: string;
9 protocol: string;
10 username: string;
11 password: string;
12 host: string;
13 hostname: string;
14 port: string;
15 pathname: string;
16 search: string;
17 readonly searchParams: URLSearchParamsImpl;
18 hash: string;
19
20 toJSON(): string;
21}
22export { URLImpl as implementation };