import type { ObservableValue, ValueChangeCallback } from './observable-value.js'; export type ValueObserverOptions = { filter?: (nextValue: T, lastValue: T) => boolean; }; /** * Subscription handle returned by {@link ObservableValue.subscribe}. Disposing * the observer unsubscribes the callback from the observable; disposing the * underlying {@link ObservableValue} drops every observer and renders all * existing handles inert. */ export declare class ValueObserver implements Disposable { readonly observable: ObservableValue; callback: ValueChangeCallback; readonly options?: ValueObserverOptions | undefined; [Symbol.dispose](): void; constructor(observable: ObservableValue, callback: ValueChangeCallback, options?: ValueObserverOptions | undefined); } //# sourceMappingURL=value-observer.d.ts.map