import { LitElement } from 'lit'; import type { UncertaintyKind, UncertaintyVariant } from '../../types/index.js'; /** * @tag loquix-uncertainty-marker * @summary Wraps an inline phrase to flag it as unsure, needing verification, or speculative. * * The slotted text remains the control's accessible name; the kind/reason is exposed via * `aria-describedby` so screen readers announce the uncertainty as a description rather * than overriding the phrase. Tooltip opens on hover or focus and closes on * mouseleave/blur/Escape. * * @slot - The inline text to mark. * * @csspart marker - The marker wrapper. * @csspart text - The slotted-text container. * @csspart icon - The trailing icon (icon variant only). * @csspart tooltip - The tooltip element. * * @fires loquix-uncertainty-click - When the marker is activated by click, Enter, or Space. * Detail: `{ kind, reason? }`. * * @cssprop [--loquix-uncert-unsure-color] - Foreground for `unsure` kind. * @cssprop [--loquix-uncert-unsure-bg] - Highlight background for `unsure` kind. * @cssprop [--loquix-uncert-verify-color] - Foreground for `needs-verification` kind. * @cssprop [--loquix-uncert-verify-bg] - Highlight background for `needs-verification` kind. * @cssprop [--loquix-uncert-spec-color] - Foreground for `speculative` kind. * @cssprop [--loquix-uncert-spec-bg] - Highlight background for `speculative` kind. */ export declare class LoquixUncertaintyMarker extends LitElement { static styles: import("lit").CSSResult[]; private _localize; /** What kind of uncertainty applies to the wrapped phrase. */ kind: UncertaintyKind; /** How the phrase is visually marked. */ variant: UncertaintyVariant; /** Optional explicit reason text. Overrides the localised default for the kind. */ reason?: string; private _open; private _tipText; private _show; private _hide; private _activate; private _onKeyDown; private _onClick; protected render(): import("lit").TemplateResult<1>; } //# sourceMappingURL=loquix-uncertainty-marker.d.ts.map