UNPKG

724 BTypeScriptView Raw
1import { Obj } from '../common/common';
2import { StateObject } from '../state/stateObject';
3export declare class StateParams {
4 [key: string]: any;
5 constructor(params?: Obj);
6 /**
7 * Merges a set of parameters with all parameters inherited between the common parents of the
8 * current state and a given destination state.
9 *
10 * @param {Object} newParams The set of parameters which will be composited with inherited params.
11 * @param {Object} $current Internal definition of object representing the current state.
12 * @param {Object} $to Internal definition of object representing state to transition to.
13 */
14 $inherit(newParams: Obj, $current: StateObject, $to: StateObject): any;
15}