declare class WorkerLocationPolyfill implements WorkerLocation {
    #private;
    constructor(href: string);
    get hash(): string;
    get host(): string;
    get hostname(): string;
    get href(): string;
    get origin(): string;
    get pathname(): string;
    get port(): string;
    get protocol(): string;
    get search(): string;
    toString(): string;
}
declare function defineProperty(url: string, writable?: boolean): void;
declare function polyfillLocation(event: Event): void;
