import { type MaybeRef } from './_shared'; import type { Ref } from '@stacksjs/stx'; /** * Reactive MutationObserver. * Observes the target element and calls the callback when mutations occur. * * @param target - The element to observe (or a Ref to one) * @param callback - MutationCallback * @param options - MutationObserverInit options * @returns isSupported ref and stop function */ export declare function useMutationObserver(target: MaybeRef, callback: MutationCallback, options?: MutationObserverInit): UseMutationObserverReturn; export declare interface UseMutationObserverReturn { isSupported: Ref stop: () => void }