import { type InjectionKey, type Ref } from 'vue' import { type RouterLinkProps } from 'vue-router' export type TabProps = { title: string, to?: RouterLinkProps['to'] icon?: string } export const TABS_INJECTION_KEY = Symbol('tabs') as InjectionKey<{ tabs: TabProps[] currentTitle: Ref }> export interface PopoverContext { items: Ref hoveredItem: Ref } export const POPOVER_INJECTION_KEY = Symbol('popover') as InjectionKey[]> export const POPOVER_CONTEXT_INJECTION_KEY = Symbol('popover context') as InjectionKey