import Tippy from '../components/Tippy' import { useTippy } from '../composables' import { Props, Content, DefaultProps, Instance } from 'tippy.js' import { VNode, Ref, Component, UnwrapNestedRefs } from 'vue' export declare type TippyContent = Content | VNode | Component | Ref export declare type TippyTarget = | Element | Element[] | Ref | Ref | null export declare type TippyOptions = Partial< Omit & { content: TippyContent triggerTarget: TippyTarget getReferenceClientRect: null | (() => DOMRect & any) } > export declare type TippyComponent = InstanceType & UnwrapNestedRefs< Pick< ReturnType, 'tippy' | 'refresh' | 'refreshContent' | 'setContent' | 'setProps' | 'destroy' | 'hide' | 'show' | 'disable' | 'enable' | 'unmount' | 'mount' | 'state' > > export interface TippyPluginOptions { directive?: string component?: string componentSingleton?: string defaultProps?: Partial } export type TippyInstance = Instance | Element | undefined export type TippyInstances = Ref[] | Ref | (() => TippyInstance[])