import { PrimitiveObject } from '../../libs/bemedev/globals/types'; import { ActorsConfigMap, EventsMap, ToEventObject, ToEvents } from '../../events/index.js'; import type { ChildFunction2, ChildrenMap } from '../types'; export type ToChildSrc_F = > = ToEventObject>, R extends { eventsMap: any; } = { eventsMap: any; }>(events: E, actorsMap: A, child: string, children?: ChildrenMap) => ChildFunction2 | undefined; /** * Converts a child configuration to a child machine object. * @param _child of type {@linkcode EmitterSrcConfig}, the machine configuration to convert. * @param children of type {@linkcode EmitterMap}, the map of emitters to look up the emitter configuration. * @returns an emitter object with an id, or undefined if the emitter is not found. * * @see {@linkcode EventsMap} for the events map * @see {@linkcode ActorsConfigMap} for the actors map */ export declare const toChildSrc: ToChildSrc_F; //# sourceMappingURL=src.d.ts.map