import { TriggerBehaviour } from './trigger-behaviour'; import { TransitionGuard } from './transition-guard'; import { DynamicTransitionInfo } from './reflection/dynamic-transition-info'; /** * * * @export * @class DynamicTriggerBehaviour * @extends {TriggerBehaviour} * @template TState * @template TTrigger * @template TContext * @link https://github.com/dotnet-state-machine/stateless/blob/dev/src/Stateless/DynamicTriggerBehaviour.cs */ export declare class DynamicTriggerBehaviour extends TriggerBehaviour { private readonly _destination; private readonly _transitionInfo; /** * Creates an instance of DynamicTriggerBehaviour. * @param {TTrigger} trigger * @param {(((args: any[]) => TState | Promise) | ((context: TContext, args: any[]) => TState | Promise))} _destination * @param {(TransitionGuard | null)} transitionGuard * @param {DynamicTransitionInfo} _transitionInfo * @memberof DynamicTriggerBehaviour */ constructor(trigger: TTrigger, _destination: ((args: any[]) => TState | Promise) | ((context: TContext, args: any[]) => TState | Promise), transitionGuard: TransitionGuard | null, _transitionInfo: DynamicTransitionInfo); resultsInTransitionFrom(_source: TState, args: any[], context?: TContext): Promise<[boolean, TState]>; readonly transitionInfo: DynamicTransitionInfo; } //# sourceMappingURL=dynamic-trigger-behaviour.d.ts.map