UNPKG

357 BTypeScriptView Raw
1import Ruler = require('./ruler');
2import StateCore = require('./rules_core/state_core');
3
4declare namespace Core {
5 type RuleCore = (state: StateCore) => void;
6}
7
8declare class Core {
9 ruler: Ruler<Core.RuleCore>;
10
11 /**
12 * Executes core chain rules.
13 */
14 process(state: StateCore): void;
15
16 State: typeof StateCore;
17}
18
19export = Core;