export type PopupPlacement = "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "right"; export type PopupTrigger = "click" | "hover" | "manual"; export type PopupTheme = "light" | "dark"; export type PopupTone = "neutral" | "info" | "success" | "warning" | "danger"; export type PopupContentFactory = () => Node | string | DocumentFragment; export interface PopupAction { id?: string; label: string; icon?: string; variant?: "primary" | "secondary" | "ghost"; disabled?: boolean; onSelect?: () => void; } export interface PopupOptions { selector: string; heading?: string; description?: string; content?: string | Node | DocumentFragment | PopupContentFactory; footer?: string | Node | DocumentFragment | PopupContentFactory; actions?: PopupAction[]; trigger?: PopupTrigger; triggerSelector?: string; placement?: PopupPlacement; offset?: number; theme?: PopupTheme; tone?: PopupTone; width?: string; maxWidth?: string; maxHeight?: string; closeOnEsc?: boolean; closeOnOutside?: boolean; interactive?: boolean; initialOpen?: boolean; arrow?: boolean; role?: "dialog" | "tooltip"; ariaLabel?: string; dismissText?: string; showHeaderDivider?: boolean; hydrate?: boolean; onOpen?: () => void; onClose?: () => void; } //# sourceMappingURL=Popup.types.d.ts.map