import { Result } from "./result.js"; declare const customInspectSymbol: unique symbol; export declare function URLSearchParamsEntries(src: URLSearchParams): IterableIterator<[string, string]>; export declare class ReadonlyURL extends URL { protected readonly _sysURL: URL; protected _protocol: string; protected _pathname: string; protected _hasHostpart: boolean; static readonly fromThrow: (urlStr: string) => ReadonlyURL; static from(urlStr: string): Result; protected constructor(urlStr: string); set origin(h: string); get href(): string; set href(h: string); get password(): string; set password(h: string); get username(): string; set username(h: string); toJSON(): string; [customInspectSymbol](): string; clone(): ReadonlyURL; get hash(): string; set hash(h: string); get host(): string; set host(h: string); get hostname(): string; set hostname(h: string); get pathname(): string; set pathname(h: string); get port(): string; set port(h: string); get protocol(): string; set protocol(h: string); get search(): string; set search(h: string); get searchParams(): URLSearchParams; set searchParams(h: URLSearchParams); toString(): string; } export declare class WritableURL extends ReadonlyURL { portExplicitlySet: boolean; static readonly fromThrow: (urlStr: string) => WritableURL; static from(urlStr: string): Result; private constructor(); toJSON(): string; [customInspectSymbol](): string; clone(): WritableURL; set origin(_h: string); get href(): string; set href(h: string); get password(): string; set password(h: string); get username(): string; set username(h: string); get hash(): string; set hash(h: string); get host(): string; set host(h: string); get hostname(): string; set hostname(h: string); get pathname(): string; set pathname(p: string); get port(): string; set port(p: string); get protocol(): string; set protocol(p: string); get search(): string; set search(h: string); get searchParams(): URLSearchParams; set searchParams(h: URLSearchParams); } export {}; //# sourceMappingURL=mutable-url.d.ts.map