import { Store } from '@ngrx/store'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export type wsMessage = { type: string; payload: any; id: string; }; export declare class WebsocketService { private store; private websocket?; private _messages$; private url?; private delay; private active; private currentRetry; constructor(store: Store); connect(currentDelay?: number): void; sendMessage(type: string, payload: any): void; messages$(type: string): Observable; retry(): void; toggleActive(active?: boolean): void; disconnect(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }