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