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 { Node, NodeConfig } from '../types'; export type ResolveNode_F = > = ToEventObject>>(events: E, actorsMap: A, config: NodeConfig, options?: SimpleMachineOptions) => Node; /** * Resolves a node configuration into a full node with all functions. * * @param events - The events map used for action and transition resolution. * @param actorsMap - The actors map used for actor resolution. * @param config - The node configuration to resolve. * @param options - Optional machine options that may include actions and actors configurations. * @returns A structured representation of the node with its properties and transitions. * * @see {@linkcode ResolveNode_F} for more details * @see {@linkcode toAction} for converting actions * @see {@linkcode toTransition} for converting transitions * @see {@linkcode toArray.typed} for ensuring typed arrays * @see {@linkcode stateType} for determining the type of the state * @see {@linkcode identify} for identifying properties in the configuration * */ export declare const resolveNode: ResolveNode_F; //# sourceMappingURL=resolveNode.d.ts.map