/** * Tooltip Component * * Shows helpful content on hover/focus with smart positioning. * Follows the same shadow DOM pattern as other components. * * @example * * Helpful tooltip text * */ import { type Placement } from '../utils/positioning.js'; import type { Flavor } from '../types/common.js'; /** * Tooltip flavors: dark (default) / light / info plus any Flavor — * built-in semantic colors or a custom flavor backed by --ty-*-X tokens. */ export type TooltipFlavor = 'dark' | 'light' | 'info' | 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; /** Observed attributes */ static get observedAttributes(): string[]; constructor(); connectedCallback(): void; disconnectedCallback(): void; attributeChangedCallback(name: string, _oldValue: string | null, newValue: string | null): void; } //# sourceMappingURL=tooltip.d.ts.map