import { type Unreffable } from '../../index.js'; /** * Hook that sets up a MutationObserver to watch for changes to a DOM element. * * @example * function MyComponent(): ReactElement { * const targetRef = useRef(null); * * useMutationObserver(targetRef, (mutations, observer) => { * console.log('Mutations observed:', mutations); * }, { childList: true }); * * return
Hello, world!
; * } */ export declare function useMutationObserver(target: Unreffable, callback: MutationCallback, options: MutationObserverInit): void;