import type { Signal } from '@angular/core'; import type { IEventEmitterOf, IEventName, IEventPayload, IEventsMap } from '@symbiote-native/engine'; /** Calls the listener for each event, the latest one, and stops with the injection context */ export declare function injectEventListener>(emitter: () => IEventEmitterOf, eventName: () => TName, listener: () => TEventsMap[TName]): void; /** The payload of the last event, `initialValue` (or `null`) until the first one */ export declare function injectEvent>(emitter: () => IEventEmitterOf, eventName: () => TName, initialValue?: IEventPayload | null): Signal | null>;