import { Observable } from 'rxjs'; /** * Subscribes to an Observable and returns the latest value, completion status, and loading status. * Resets the subscription and completed/loading states if the observable reference changes. * * @param {Observable} observable The Observable to subscribe to. * @returns {{ value: T | undefined, isComplete: boolean, loading: boolean }} An object containing the latest value emitted by the Observable, the completion status, and the loading status. */ export declare function useObservable(observable: Observable): { value: T | undefined; isComplete: boolean; loading: boolean; };