import { Popover as BasePopover } from "@base-ui/react/popover"; import { useRender } from "@base-ui/react/use-render"; import * as React from "react"; interface PopoverProps extends React.ComponentPropsWithRef { } interface PopoverTriggerProps extends Omit, "className"> { /** * Applies additional CSS classes to the component root element. * @default undefined */ className?: string; /** * Enables child element composition instead of rendering the default wrapper. * @default false * @deprecated Prefer Base UI's `render` prop. */ asChild?: boolean; } interface PopoverAnchorProps extends React.ComponentPropsWithRef<"div"> { /** * Applies additional CSS classes to the component root element. * @default undefined */ className?: string; /** * Overrides the default rendered element while preserving component behavior. * @default undefined */ render?: useRender.RenderProp>; /** * Enables child element composition instead of rendering the default wrapper. * @default false * @deprecated Prefer Base UI's `render` prop. */ asChild?: boolean; } interface PopoverContentProps extends Omit, "className"> { /** * Applies additional CSS classes to the component root element. * @default undefined */ className?: string; /** * Offsets the floating content from its anchor in pixels. * @default 4 */ sideOffset?: number; } /** * Coordinates popover state and accessibility behavior. * * @remarks * - Delegates structure and state to the underlying Base UI primitive * - Built on {@link https://base-ui.com/react/components/popover | Base UI Popover} * - Preserves the underlying primitive API for advanced composition * * @example * ```tsx * Content * ``` * * @see {@link https://base-ui.com/react/components/popover | Base UI Documentation} */ declare function Popover(props: Readonly): React.ReactElement; declare namespace Popover { var displayName: string; } /** * Renders the popover trigger. * * @remarks * - Renders a `