/** * Minimum action field */ export interface RulesEngineAction { /** Type of the action */ actionType: A; /** Generic value of the action */ value: V; } /** * Action handler executed by the rules engine */ export interface RulesEngineActionHandler { /** * Execute the actions resulting of the rules engine * @param actions List of actions executed by the rules engine */ executeActions(actions: T[]): void | Promise; /** * Actions supported by the handler */ supportingActions: readonly T['actionType'][]; } //# sourceMappingURL=rules-engine-interfaces.d.ts.map