import type { InjectionKey, Ref } from 'vue' import type { useNamespace } from '@element-plus/hooks' export type TooltipV2Context = { onClose: () => void onDelayOpen: () => void onOpen: () => void contentId: Ref triggerRef: Ref ns: ReturnType } export type TooltipV2ContentContext = { arrowRef: Ref } export const tooltipV2RootKey: InjectionKey = Symbol('tooltipV2') export const tooltipV2ContentKey: InjectionKey = Symbol('tooltipV2Content') export const TOOLTIP_V2_OPEN = 'tooltip_v2.open'