import { WebRtcCommsProxy } from "./comms-proxy";
import { ArtificialWorker } from "../../utils/artificial-worker.js";
import type { WorkerInputMessage, WorkerOutputMessage } from "../communicator.js";
export declare class WebRtcBridge extends ArtificialWorker<WorkerInputMessage, WorkerOutputMessage> {
    #private;
    private readonly automaticTokenRefresh?;
    commsProxy: WebRtcCommsProxy | null;
    constructor(automaticTokenRefresh?: ((token: string) => void) | undefined);
    terminate(): void;
}
//# sourceMappingURL=bridge.d.ts.map