1 | import { _StateDeclaration } from './interface';
|
2 | import { StateObject } from './stateObject';
|
3 | import { StateBuilder } from './stateBuilder';
|
4 | import { StateRegistryListener } from './stateRegistry';
|
5 | import { Disposable } from '../interface';
|
6 | import { UIRouter } from '../router';
|
7 | export declare class StateQueueManager implements Disposable {
|
8 | private router;
|
9 | states: {
|
10 | [key: string]: StateObject;
|
11 | };
|
12 | builder: StateBuilder;
|
13 | listeners: StateRegistryListener[];
|
14 | queue: StateObject[];
|
15 | constructor(router: UIRouter, states: {
|
16 | [key: string]: StateObject;
|
17 | }, builder: StateBuilder, listeners: StateRegistryListener[]);
|
18 | dispose(): void;
|
19 | register(stateDecl: _StateDeclaration): StateObject;
|
20 | flush(): {
|
21 | [key: string]: StateObject;
|
22 | };
|
23 | attachRoute(state: StateObject): void;
|
24 | }
|