/** * Tooltip Component — shows content on hover/focus with smart positioning. * The anchor is the tooltip's PARENT element; the popover itself lives in * document.body (top layer), not in this element's shadow root. */ import { type Placement } from '../utils/positioning.js'; import type { Flavor } from '../types/common.js'; /** * Tooltip flavors are the standard ones: neutral (default) / primary / * success / danger / warning with + and - tones, or a custom flavor. * 'dark' is kept as a silent alias for neutral. */ export type TooltipFlavor = 'dark' | Flavor; /** * Tooltip attributes configuration */ export interface TooltipAttributes { placement: Placement; offset: number; delay: number; disabled: boolean; flavor: TooltipFlavor; } /** * TyTooltip Web Component */ export declare class TyTooltip extends HTMLElement { /** Internal open state */ _open: boolean; static get observedAttributes(): string[]; constructor(); connectedCallback(): void; disconnectedCallback(): void; attributeChangedCallback(name: string, _oldValue: string | null, newValue: string | null): void; }