import { Disposable } from "@codesandbox/pitcher-common"; import type { IPortClient, IPort } from "../../../interface/clients"; import type { Sandpack } from "./Sandpack"; export declare class BrowserPortClient extends Disposable implements IPortClient { private portsUpdatedEmitter; onPortsUpdated: import("@codesandbox/pitcher-common").Event; private portsErrorEmitter; onPortsError: import("@codesandbox/pitcher-common").Event; readyPromise: undefined; ports: IPort[]; constructor(sandpack: Sandpack, url: string); resync(): void; getPorts(): IPort[]; changeUrl(newUrl: string): void; } //# sourceMappingURL=PortClient.d.ts.map