/**
 * `<popover-ui>` — Popover using Popover API + CSS Anchor Positioning. Triggers: click, hover, manual.
 *
 * @see https://ui-kit.exe.xyz/site/components/popover
 *
 * Type declarations generated by scripts/build/dts-codegen.mjs from
 * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
 * run `npm run build:components`, then `npm run codegen:dts` to
 * regenerate; or hand-author this file fully if rich event types are
 * needed beyond what the yaml `events:` block can express.
 */

import { UIElement } from '../../core/element.js';

export class UIPopover extends UIElement {
  /** Pixel offset between the anchor and the popover */
  gap: number;
  /** Controls visibility via showPopover()/hidePopover() */
  open: boolean;
  /** Popover placement */
  placement: 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
  /** Trigger mode */
  trigger: 'click' | 'hover' | 'manual';
}
