import type { Middleware, Placement } from '@floating-ui/react'; import type { PopupOffset, PopupPlacement } from "./types.js"; export declare function getOffsetOptions(offsetProp: PopupOffset, hasArrow: boolean | undefined): { offset: PopupOffset; }; export declare function getPlacementOptions(placementProp?: PopupPlacement, disablePortal?: boolean): { placement: Placement | undefined; middleware: { name: string; options?: any; fn: (state: import("@floating-ui/dom").MiddlewareState) => import("@floating-ui/core").MiddlewareReturn | Promise; }; }; export declare const arrowStylesMiddleware: () => Middleware;