/** * Solid 2 port of Base UI React's `adaptiveOrigin` middleware * (`packages/react/src/utils/adaptiveOriginMiddleware.ts`). * * When the floating element has a CSS transition active, this middleware * rewrites the positioning coordinates so the popup anchors to the side * opposite the transition's starting origin. That lets consumers animate * `transform` / `opacity` without the popup jumping from a stale rect * while the transition is mid-flight. */ import type { Middleware } from "@floating-ui/dom"; export declare const DEFAULT_SIDES: { readonly sideX: "left"; readonly sideY: "top"; }; export declare const adaptiveOriginMiddleware: Middleware; //# sourceMappingURL=adaptive-origin-middleware.d.ts.map