export declare class EngineWebsocket {
    private readonly connectSource;
    private readonly disconnectSource;
    private ws;
    private readonly sources;
    constructor(connectSource: (id: string) => Promise<void>, disconnectSource: (id: string) => Promise<void>);
    connect(): void;
    disconnect(): void;
    private handleMessage;
}
