import type { Observable } from '../../../external/rxjs/index.js'; /** * @function observationAsPromise * @param {Observable} observable - an Array of Observables to use for this combined observation. * @param {Promise} condition - a method which should return true or false, if rejected or returning undefined the observation will result in a rejected Promise. * @description - Observes an Observable and returns a Promise that resolves when the condition returns true. If the condition returns undefined or rejects, the Promise will reject with the current value. * @returns {Promise} - Returns a Promise which resolves when the condition returns true or rejects when the condition returns undefined or is rejecting it self. */ export declare function observationAsPromise(observable: Observable, condition: (value: T) => Promise): Promise;