export type TooltipPosition = 'top' | 'bottom' | 'left' | 'right'; export type TooltipRadius = 'none' | 'sm' | 'md' | 'lg'; export interface TooltipUi { /** Wrapper around the trigger slot and tooltip bubble. */ root?: string; /** The tooltip bubble (`role="tooltip"`). */ content?: string; /** The tooltip label text. */ text?: string; /** * Origin-arrow wrapper (position / rotation / CSS vars). * Recolour via `--tooltip-pointer-fill` and `--tooltip-pointer-border`. */ pointer?: string; } type __VLS_Props = { /** * A unique identifier for the tooltip, used to describe the tooltip * (`aria-describedby` / content `id`). */ id: string; /** * Content of the tooltip. Keep the tooltip text concise (1–2 lines). * Do not put essential information only here — some AT may skip descriptions. */ text: string; /** * Determines the position of the tooltip relative to the trigger. */ position?: TooltipPosition; /** * When true, the tooltip displays an arrow pointing at the trigger * (the origin the tooltip “comes from”). */ pointer?: boolean; /** * When true, shows the help cursor (`?`) on hover / focus of the trigger. */ helpCursor?: boolean; /** * Border radius of the tooltip bubble. Maps to theme `--border-radius-*`. */ radius?: TooltipRadius; /** * When true, the tooltip is always visible (no hover/focus gate) and * laid out in normal flow — useful for docs and dataviz callouts. */ standalone?: boolean; /** * Tailwind class overrides per structural part (`root`, `content`, `text`, `pointer`). * Merged with `defaultTooltipUi` via `cn()` — conflicting utilities win. */ ui?: TooltipUi; }; type __VLS_Slots = { /** * The tooltip will point to the content of the slot (the trigger). * Prefer a focusable control, or plain text — the root becomes focusable * when no focusable descendant is found. */ default?: () => unknown; }; declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { position: TooltipPosition; radius: TooltipRadius; pointer: boolean; helpCursor: boolean; standalone: boolean; ui: TooltipUi; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //# sourceMappingURL=index.vue.d.ts.map