1 | import { StateParams } from './params/stateParams';
|
2 | import { StateDeclaration } from './state/interface';
|
3 | import { StateObject } from './state/stateObject';
|
4 | import { Transition } from './transition/transition';
|
5 | import { Queue } from './common/queue';
|
6 | import { Disposable } from './interface';
|
7 | /**
|
8 | * Global router state
|
9 | *
|
10 | * This is where we hold the global mutable state such as current state, current
|
11 | * params, current transition, etc.
|
12 | */
|
13 | export declare class UIRouterGlobals implements Disposable {
|
14 | /**
|
15 | * Current parameter values
|
16 | *
|
17 | * The parameter values from the latest successful transition
|
18 | */
|
19 | params: StateParams;
|
20 | /**
|
21 | * Current state
|
22 | *
|
23 | * The to-state from the latest successful transition
|
24 | */
|
25 | current: StateDeclaration;
|
26 | /**
|
27 | * Current state (internal object)
|
28 | *
|
29 | * The to-state from the latest successful transition
|
30 | * @internal
|
31 | */
|
32 | $current: StateObject;
|
33 | /**
|
34 | * The current started/running transition.
|
35 | * This transition has reached at least the onStart phase, but is not yet complete
|
36 | */
|
37 | transition: Transition;
|
38 | /** @internal */
|
39 | lastStartedTransitionId: number;
|
40 | /** @internal */
|
41 | transitionHistory: Queue<Transition>;
|
42 | /** @internal */
|
43 | successfulTransitions: Queue<Transition>;
|
44 | dispose(): void;
|
45 | }
|