import { Ref, ComponentPublicInstance } from 'vue'; export declare const defaultWindow: (Window & typeof globalThis) | undefined; export interface MutationObserverOptions extends MutationObserverInit { window?: Window; } export declare type MaybeRef = T | Ref; export declare type MaybeElement = HTMLElement | SVGElement | ComponentPublicInstance | undefined | null; export declare type UnRefElementReturn = T extends ComponentPublicInstance ? Exclude : T | undefined; export declare 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 declare type UseMutationObserverReturn = ReturnType;