import { Ref, ComponentPublicInstance } from 'vue'; export declare const defaultWindow: (Window & typeof globalThis) | undefined; export interface MutationObserverOptions extends MutationObserverInit { window?: Window; } export type MaybeRef = T | Ref; export type MaybeElement = HTMLElement | SVGElement | ComponentPublicInstance | undefined | null; export type UnRefElementReturn = T extends ComponentPublicInstance ? Exclude : T | undefined; export type Fn = () => void; export declare function unrefElement(elRef: MaybeRef): UnRefElementReturn; export declare function tryOnScopeDispose(fn: Fn): boolean; export declare function useMutationObserver(target: MaybeRef, callback: MutationCallback, options?: MutationObserverOptions): { isSupported: boolean | undefined; stop: () => void; }; export type UseMutationObserverReturn = ReturnType;