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 | export declare class StoreDevtools implements Observer<any> {
|
9 | private stateSubscription;
|
10 | private extensionStartSubscription;
|
11 | dispatcher: ActionsSubject;
|
12 | liftedState: Observable<LiftedState>;
|
13 | state: Observable<any>;
|
14 | constructor(dispatcher: DevtoolsDispatcher, actions$: ActionsSubject, reducers$: ReducerObservable, extension: DevtoolsExtension, scannedActions: ScannedActionsSubject, errorHandler: ErrorHandler, initialState: any, config: StoreDevtoolsConfig);
|
15 | dispatch(action: Action): void;
|
16 | next(action: any): void;
|
17 | error(error: any): void;
|
18 | complete(): void;
|
19 | performAction(action: any): void;
|
20 | refresh(): void;
|
21 | reset(): void;
|
22 | rollback(): void;
|
23 | commit(): void;
|
24 | sweep(): void;
|
25 | toggleAction(id: number): void;
|
26 | jumpToAction(actionId: number): void;
|
27 | jumpToState(index: number): void;
|
28 | importState(nextLiftedState: any): void;
|
29 | lockChanges(status: boolean): void;
|
30 | pauseRecording(status: boolean): void;
|
31 | }
|