/** * 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'; /** * Valid tooltip flavors (semantic colors) */ export type TooltipFlavor = 'dark' | 'light' | 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'neutral'; /** * 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