/** * Popup Component - click-triggered popup positioned against its PARENT element * (the anchor). Stays open for interaction; closes on outside click or ESC. */ import { type Placement } from '../utils/positioning.js'; /** * Popup attributes configuration */ export interface PopupAttributes { manual: boolean; disableClose: boolean; placement: Placement; offset: number; } /** * TyPopup Web Component */ export declare class TyPopup extends HTMLElement { /** Programmatic API methods */ closePopup?: () => void; openPopup?: () => void; togglePopup?: () => void; static get observedAttributes(): string[]; constructor(); connectedCallback(): void; disconnectedCallback(): void; attributeChangedCallback(name: string, _oldValue: string | null, _newValue: string | null): void; }