import { RenderProps } from "../utils/types.js";
import "../utils/index.js";
import { SystemProps } from "../system/system.js";
import "../system/index.js";
import { BoxProps } from "../box/box.types.js";
import "../box/index.js";
import { UsePopoverProps } from "./usePopover.types.js";
import { UsePopoverType } from "./usePopover.js";

//#region src/popover/popover.types.d.ts
type PopoverContentProps = BoxProps;
type PopoverProps = UsePopoverProps & {
  /** Exposes render props to the children. */
  children?: PopoverRenderProps;
  /** Mounts provided content only when popover is opened for performance. @default true */
  isLazy?: boolean;
};
type PopoverRenderProps = RenderProps<{
  close: UsePopoverType['close'];
  isOpen: UsePopoverType['isOpen'];
  open: UsePopoverType['open'];
}>;
type PopoverTriggerProps = SystemProps;
//#endregion
export { PopoverContentProps, PopoverProps, PopoverRenderProps, PopoverTriggerProps };

//# sourceMappingURL=popover.types.d.ts.map