import { Arrow as ArrowPrimitive } from "@loke/ui/arrow"; import { Primitive } from "@loke/ui/primitive"; import type { Measurable } from "@loke/ui/rect"; import { type ComponentPropsWithoutRef, type FC, type ReactNode, type RefObject } from "react"; declare const SIDE_OPTIONS: readonly ["top", "right", "bottom", "left"]; declare const ALIGN_OPTIONS: readonly ["start", "center", "end"]; type Side = (typeof SIDE_OPTIONS)[number]; type Align = (typeof ALIGN_OPTIONS)[number]; declare const createPopperScope: import("@loke/ui/context").CreateScope; interface PopperProps { children?: ReactNode; } declare const Popper: FC; type PrimitiveDivProps = ComponentPropsWithoutRef; interface PopperAnchorProps extends PrimitiveDivProps { virtualRef?: RefObject; } declare const PopperAnchor: import("react").ForwardRefExoticComponent>; type Boundary = Element | null; interface PopperContentProps extends PrimitiveDivProps { align?: Align; alignOffset?: number; arrowPadding?: number; avoidCollisions?: boolean; collisionBoundary?: Boundary | Boundary[]; collisionPadding?: number | Partial>; hideWhenDetached?: boolean; onPlaced?: () => void; side?: Side; sideOffset?: number; sticky?: "partial" | "always"; updatePositionStrategy?: "optimized" | "always"; } declare const PopperContent: import("react").ForwardRefExoticComponent>; type ArrowProps = ComponentPropsWithoutRef; type PopperArrowProps = ArrowProps; declare const PopperArrow: import("react").ForwardRefExoticComponent & { asChild?: boolean; }, "ref"> & import("react").RefAttributes, "ref"> & import("react").RefAttributes>; declare const Root: FC; declare const Anchor: import("react").ForwardRefExoticComponent>; declare const Content: import("react").ForwardRefExoticComponent>; declare const Arrow: import("react").ForwardRefExoticComponent & { asChild?: boolean; }, "ref"> & import("react").RefAttributes, "ref"> & import("react").RefAttributes>; export { createPopperScope, Popper, PopperAnchor, PopperContent, PopperArrow, Root, Anchor, Content, Arrow, SIDE_OPTIONS, ALIGN_OPTIONS, }; export type { PopperProps, PopperAnchorProps, PopperContentProps, PopperArrowProps, };