import React from "react";
import PopoverTrigger from "./PopoverTrigger";
import PopoverContent from "./PopoverContent";
import PopoverArrow from "./PopoverArrow";
import PopoverPortal from "./PopoverPortal";
import PopoverAnchor from "./PopoverAnchor";
export type PopoverProps = {
    open: boolean;
    modal: boolean;
    children: React.ReactNode;
    className?: string;
    onOpenChange?: (open: boolean) => void;
};
type PopoverCompound = {
    Trigger: typeof PopoverTrigger;
    Content: typeof PopoverContent;
    Arrow: typeof PopoverArrow;
    Portal: typeof PopoverPortal;
    Anchor: typeof PopoverAnchor;
};
declare const _default: (<C extends React.ElementType<any>>(props: {
    sx?: any;
} & {
    component?: C;
} & Omit<JSX.LibraryManagedAttributes<C, React.PropsWithoutRef<React.ComponentProps<C>>>, "component" | "sx"> & {
    ref?: import("../../system/types").PolymorphicRef<C>;
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & PopoverCompound;
export default _default;
