import { Action } from '@ngrx/store'; import { HttpErrorResponse } from '@angular/common/http'; export declare enum RequestType { Anfrage = 0, Erfolgreich = 1, Fehler = 2 } export declare enum RequestMethod { QUERY = 0, COMMAND = 1 } export interface Request { key: string; method: RequestMethod; type: RequestType; action: any; error: any; date: Date; } export interface IDictionary { add(key: string, value: T): void; remove(key: string): void; item(key: string): T; containsKey(key: string): boolean; keys(): string[]; values(): T[]; } export declare class Dictionary implements IDictionary { _keys: string[]; _values: T[]; constructor(init?: { key: string; value: T; }[]); add(key: string, value: T): void; remove(key: string): void; item(key: string): T; keys(): string[]; values(): T[]; containsKey(key: string): boolean; toLookup(): IDictionary; } export interface NgrxManagerConfig { traceId?: string; useCache?: boolean; failedRequests?: number; errorStatus?: number; error?: HttpErrorResponse; firstRequest: Date; lastRequest: Date; nextAction?: Action | NgrxManagerAction; optParams?: any; } export interface NgrxManagerAction extends Action { ngrxManager: NgrxManagerConfig; } export declare const NgrxManagerPropertyName = "ngrxManager";