import type { PrimitiveObject } from '../../libs/bemedev/globals/types'; import type { ActorsConfigMap, EventsMap, ToEventObject, ToEvents } from '../../events/index.js'; import type { SimpleMachineOptions } from '../../machine/index.js'; import type { Transition, TransitionConfig } from '../index.js'; export type ToTransition_F = > = ToEventObject>>(events: E, actorsMap: A, config: TransitionConfig, options?: Pick, 'actions' | 'predicates'>) => Transition; /** * Converts a transition configuration to a structured transition object with all functions. * * @param events - The events map used for action and guard resolution. * @param actorsMap - The actors map used for action and guard resolution. * @param config - The transition configuration to convert. * @param options - Optional machine options that may include actions and predicates configurations. * @returns A structured transition object with target, actions, guards, and optional description. * * @see {@linkcode ToTransition_F} for more details * @see {@linkcode toAction} for converting actions * @see {@linkcode toPredicate} for converting guards * @see {@linkcode toArray.typed} for ensuring typed arrays * @see {@linkcode toArray} for ensuring typed arrays */ export declare const toTransition: ToTransition_F; //# sourceMappingURL=toTransition.d.ts.map