import { TriggerBehaviour } from './trigger-behaviour'; import { Transition } from './transition'; /** * @link https://github.com/dotnet-state-machine/stateless/blob/dev/src/Stateless/InternalTriggerBehaviour.cs */ export declare class InternalTriggerBehaviour extends TriggerBehaviour { private readonly _internalAction; /** * Creates an instance of InternalTriggerBehaviour. * @param {TTrigger} trigger * @param {(((...args: any[]) => boolean | Promise) | ((context: TContext, ...args: any[]) => boolean | Promise))} guard * @param {(string | null)} [guardDescription=null] * @memberof InternalTriggerBehaviour */ constructor(trigger: TTrigger, guard: ((...args: any[]) => boolean | Promise) | ((context: TContext, ...args: any[]) => boolean | Promise), _internalAction: (((transition: Transition, args: any[]) => any | Promise) | ((context: TContext, transition: Transition, args: any[]) => any | Promise)), guardDescription?: string | null); readonly internalAction: (((transition: Transition, args: any[]) => any | Promise) | ((context: TContext, transition: Transition, args: any[]) => any | Promise)); resultsInTransitionFrom(source: TState, _args: any[], _context?: TContext): Promise<[boolean, TState]>; execute(transition: Transition, args: any[], context?: TContext): Promise; } //# sourceMappingURL=internal-trigger-behaviour.d.ts.map