import type { Subscribable, SubscribableValue } from './types/inputs/Subscribable.js'; import type { MappingKey } from './types/mapping.js'; import type { ListenEventMap, StrictListenable } from './types/outputs/StrictListenable.js'; /** * Returns a promise resolving to next emitted result, or reject to the next error * @param observable * * @since 1.0.0 */ export declare function waitFor$(observable: O): Promise>; export declare function waitFor$>>(listenable: L, key: K): Promise[K]>;