import { WebRtcDataChannel } from "@luxonis/remote-connection";
export type WebRtcCommsMessages = 'getConnection';
export declare class WebRtcCommsProxy {
    #private;
    private readonly automaticTokenRefresh?;
    constructor(commsChannel: WebRtcDataChannel, automaticTokenRefresh?: ((token: string) => void) | undefined);
    sendMessageToCommsChannel(message: WebRtcCommsMessages): void;
    handleClose(): void;
}
//# sourceMappingURL=comms-proxy.d.ts.map