import * as React from "react"; import type { FlushProp } from "../../props/vocabulary/index.js"; type Side = "top" | "right" | "bottom" | "left"; type Align = "start" | "center" | "end"; interface PopoverProps { /** Trạng thái mở, có kiểm soát. */ open?: boolean; /** Trạng thái mở ban đầu khi không kiểm soát. */ defaultOpen?: boolean; /** Gọi khi trạng thái mở/đóng đổi. */ onOpenChange?: (open: boolean) => void; /** Khoá tương tác ngoài panel và giam tiêu điểm, đúng như `modal` của Radix. */ modal?: boolean; } export declare function Popover({ open, defaultOpen, onOpenChange, modal, children, }: React.PropsWithChildren): React.JSX.Element; interface PopoverTriggerProps extends React.ComponentPropsWithRef<"button"> { /** Mượn thẻ của con thay vì dựng `