import type { Observable } from 'rxjs'; /** * A react hook that subscribes to an rxjs observable on mount and calls the provided callback when * a new value is emitted. Unsubscribes on unmount or when the observable parameter changes. * * @param observable the rxjs observable to subscribe to * @param callback the function to call when the observable emits a value. * Passed the new value as its only argument. * @returns void */ export declare const useObservable: (observable: Observable, callback: (val: T) => void) => void;