import { BehaviorSubject, Subject } from 'rxjs';
import { MotionMasterPubSubSocket } from './motion-master-pub-sub-socket';
import { IMotionMasterMessage } from './types';
export declare class MotionMasterPubSubWorkerSocket implements MotionMasterPubSubSocket {
    readonly worker: Worker;
    opened$: BehaviorSubject<boolean>;
    close$: Subject<{
        code: number;
        reason: string;
    }>;
    data$: Subject<[string, IMotionMasterMessage]>;
    private _url?;
    constructor(worker: Worker);
    get url(): string | undefined;
    open(url: string): void;
    close(): void;
    reopen(): void;
}
