import { LitElement } from 'lit'; /** * Lightweight slotted tooltip (same approach as the sibling asset-picker's * `ap-tooltip`): wraps its content and shows `text` on hover/focus. Purely * visual — interactive children should still carry an `aria-label` for screen * readers. * * When the native Popover API is available the tip is lifted into the browser * **top layer** so it can't be clipped by scrolling/transformed ancestors (e.g. * the comments panel's `overflow` box). It flips top/bottom and shifts * horizontally to stay within the viewport. Older browsers fall back to an * absolutely-positioned tip with static `top/bottom/left/right` placement. */ export declare class SfxTooltip extends LitElement { text: string; placement: 'top' | 'bottom' | 'left' | 'right' | 'auto'; /** Suppress this tooltip regardless of `text` (per-instance opt-out). */ disabled: boolean; /** Resolved placement for the CSS fallback, reflected to `data-place`. */ private resolved; private shown; private coord; private tipEl?; private usePopover; static styles: import('lit').CSSResult; connectedCallback(): void; disconnectedCallback(): void; private show; private hide; /** * Honor a host-level `--sfx-an-tooltip-display: none` override (inherited * through the shadow boundary) so consumers can disable built-in tooltips * with a single CSS variable — mirrors the CSS `.tip { display }` gate for * the Popover-API path, which lives in the top layer and isn't hidden by * the ancestor's `display` alone. */ private isSuppressed; private position; /** Fallback placement resolution when the Popover API is unavailable. */ private resolveFallbackPlacement; updated(): void; render(): import('lit-html').TemplateResult<1>; } //# sourceMappingURL=tooltip.d.ts.map