import { TemplateResult } from 'lit'; import { BahtElement } from '../base.js'; /** * Hover/focus tooltip. Wraps its children; pure CSS show/hide (120ms fade). * Escape hides it without moving focus (WCAG 1.4.13); it re-arms on leave/blur. * * * * */ export declare class BahtTooltip extends BahtElement { text: string; position: 'top' | 'bottom' | 'left' | 'right'; private anchorEl; private dismissed; private describedTarget; private get tooltipId(); /** * Point aria-describedby at the tooltip from the focusable child (light DOM, * so the id reference works). No focusable child -> the anchor itself becomes * one, so keyboard users can still surface the tooltip. */ private wireDescribedBy; private unwireDescribedBy; disconnectedCallback(): void; connectedCallback(): void; protected firstUpdated(): void; private readonly onKeydown; private readonly rearm; protected render(): TemplateResult; }