import { OnInit } from '@angular/core'; import { Action, Store } from '@ngrx/store'; import { BehaviorSubject, Observable, Subject } from 'rxjs'; import { Dictionary, NgrxManagerAction, Request, RequestMethod, RequestType } from './model'; import { NgrxManagerState } from './reducer'; import { HttpErrorResponse } from '@angular/common/http'; import { UuidService } from './providers/uuid.service'; export declare class NgrxManagerService implements OnInit { private store; private uuidService; enabled$: BehaviorSubject; tokenDisable: string; internetWirdGeprueft$: BehaviorSubject; letzeInternetPruefung$: BehaviorSubject; letzeInternetverbindung$: BehaviorSubject; failedHttpStatusCodes: number[]; activeSync: boolean; queryStack: Dictionary; queryQueue: Dictionary; queryFailed: Array; commandStack: Dictionary; commandQueue: Array; commandFailed: Array; commandStack$: Subject>; commandQueue$: Subject; commandFailed$: Subject; constructor(store: Store, uuidService: UuidService); ngOnInit(): void; enableService(): void; disableService(): void; isEnabled$(): Observable; internetWirdGeprueft(): Observable; letzeInternetPruefung(): Observable; letzeInternetverbindung(): Observable; clearQueries(): void; checkRequestCall(key: string, action: Action | NgrxManagerAction, method: RequestMethod, type: RequestType): boolean | Action | NgrxManagerAction; checkRequestResult(key: string, action: Action | NgrxManagerAction, method: RequestMethod, type: RequestType, nextAction: Action | NgrxManagerAction, error?: HttpErrorResponse | null): void; checkInternetConnection(autoStartActiveSync?: boolean): Promise; private checkQueue; private offlineLogik; private onlineLogik; }