export declare class WebSocketBus {
    private port;
    private ws;
    private receiver;
    private sender;
    private requests;
    constructor(port?: number);
    startServer(): this;
    init(requests: any): this;
    sendMessage(message: any): void;
    listen(): import("rxjs").Observable<any>;
    close(): void;
    private onConnectionOpen;
    private onConnectionClosed;
    private onMessageReceived;
}
//# sourceMappingURL=pilot.socket.d.ts.map