import { Ref } from "vue"; /** * Any function */ export declare type Fn = () => void; export declare const isString: (val: unknown) => val is string; /** * Maybe it's a ref, or not. * * ```ts * type MaybeRef = T | Ref * ``` */ export declare type MaybeRef = T | Ref; export declare const noop: () => void; export declare function def(obj: T, key: keyof T, val: any, enumerable?: boolean): void; export declare type Target = Ref | EventTarget | string; export declare function getTarget(target: Target): EventTarget; export declare function tryOnMounted(cb: () => any): void; export declare function tryOnUnmounted(cb: () => any): void; export declare const isClient: boolean;