import { Observable } from "rxjs"; /** * Utility to create a hybrid object that acts as both an Observable and a Promise. * * @remarks * This allows the client to treat a function call as a Promise (awaiting the first result) * or an Observable (subscribing to a stream of results), providing flexibility. * * @param observable - The observable stream. * @param promise - The promise that resolves with the first value. * @returns An object that implements both Observable and Promise interfaces. */ export declare function observablePromise(observable: Observable, promise: Promise): Observable & Promise;