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