import * as RadixPopover from "@radix-ui/react-popover"; import { PopoverContent } from "./PopoverContent"; export type PopoverHandles = Readonly<{ open: () => void; close: () => void; }>; type PopoverRenderPropsFunction = (args: { close: () => void; }) => React.ReactNode; export type PopoverProps = Readonly<{ triggerElement: React.ReactNode; children: React.ReactNode | PopoverRenderPropsFunction; className?: string; contentWrapperClassName?: string; withPortal?: boolean; withBorder?: boolean; handlesRef?: React.RefObject; preventAutoFocus?: boolean; reduceMotion?: boolean; } & Omit & Pick & Omit, "children">>; export declare function Popover({ side, align, modal, open: value, defaultOpen: defaultValue, withPortal, withBorder, triggerElement, children, className, contentWrapperClassName, sideOffset, alignOffset, collisionPadding, handlesRef, preventAutoFocus, onOpenChange: onValueChange, onFocusOutside, onCloseAutoFocus, reduceMotion, }: PopoverProps): import("react").JSX.Element; export declare namespace Popover { export { PopoverContent as Content }; } export {}; //# sourceMappingURL=Popover.d.ts.map