1 | import { Reducible, Action } from 'reducible-node';
|
2 | import { PageOccurrence, Page } from './pages';
|
3 | export declare class PageInstance<TParams = {}, TState = {}> implements Reducible<PageInstance<TParams, TState>> {
|
4 | private node;
|
5 | readonly occurrence: PageOccurrence<TParams>;
|
6 | readonly page: Page<TParams, TState>;
|
7 | constructor(page: Page<TParams, TState>, occurrence: PageOccurrence<TParams>);
|
8 | readonly path: string;
|
9 | readonly mutex: string;
|
10 | readonly parent: string | undefined;
|
11 | readonly openedFrom: string | undefined;
|
12 | readonly title: string | undefined;
|
13 | readonly state: TState;
|
14 | readonly params: TParams;
|
15 | reduce(action: Action<any>): this;
|
16 | }
|