/** * Tooltip — anchored, delayed text bubble for a trigger. * * Shows on hover and keyboard focus, hides on leave / blur / Escape. The trigger * is wired to the bubble via `aria-describedby` (always set; the bubble is in the * DOM and revealed on open), and the bubble carries `role="tooltip"`. CSS-anchored * via a `placement` prop — no JS positioning dependency. */ import type { Snippet } from 'svelte'; import type { TooltipPlacement } from '../../types-generic'; export interface Props { /** Tooltip text. */ text: string; /** Placement relative to the trigger. */ placement?: TooltipPlacement; /** Show delay in ms. */ delay?: number; /** The trigger content. */ children: Snippet; } declare const Tooltip: import("svelte").Component; type Tooltip = ReturnType; export default Tooltip; //# sourceMappingURL=Tooltip.svelte.d.ts.map