1 | import { ErrorHandler } from '@angular/core';
|
2 | import { Action, ActionsSubject, ReducerObservable, ScannedActionsSubject } from '@ngrx/store';
|
3 | import { Observable, Observer } from 'rxjs';
|
4 | import { StoreDevtoolsConfig } from './config';
|
5 | import { DevtoolsExtension } from './extension';
|
6 | import { LiftedState } from './reducer';
|
7 | import { DevtoolsDispatcher } from './devtools-dispatcher';
|
8 | import * as i0 from "@angular/core";
|
9 | export declare class StoreDevtools implements Observer<any> {
|
10 | private stateSubscription;
|
11 | private extensionStartSubscription;
|
12 | dispatcher: ActionsSubject;
|
13 | liftedState: Observable<LiftedState>;
|
14 | state: Observable<any>;
|
15 | constructor(dispatcher: DevtoolsDispatcher, actions$: ActionsSubject, reducers$: ReducerObservable, extension: DevtoolsExtension, scannedActions: ScannedActionsSubject, errorHandler: ErrorHandler, initialState: any, config: StoreDevtoolsConfig);
|
16 | dispatch(action: Action): void;
|
17 | next(action: any): void;
|
18 | error(error: any): void;
|
19 | complete(): void;
|
20 | performAction(action: any): void;
|
21 | refresh(): void;
|
22 | reset(): void;
|
23 | rollback(): void;
|
24 | commit(): void;
|
25 | sweep(): void;
|
26 | toggleAction(id: number): void;
|
27 | jumpToAction(actionId: number): void;
|
28 | jumpToState(index: number): void;
|
29 | importState(nextLiftedState: any): void;
|
30 | lockChanges(status: boolean): void;
|
31 | pauseRecording(status: boolean): void;
|
32 | static ɵfac: i0.ɵɵFactoryDeclaration<StoreDevtools, never>;
|
33 | static ɵprov: i0.ɵɵInjectableDeclaration<StoreDevtools>;
|
34 | }
|