import type { Derivable, Middleware, Padding } from "@floating-ui/dom"; export interface ArrowOptions { /** * The arrow element to be positioned. * @default undefined */ element: Element | (() => Element | null) | { current: Element | null; } | null | undefined; /** * Padding between the arrow element and the floating element edges. * Useful when the floating element has rounded corners. * @default 0 */ padding?: Padding | undefined; /** * Which element to use as the offset parent. * @default 'real' */ offsetParent: "real" | "floating"; } /** * Fork of `@floating-ui/dom`'s `arrow` middleware that accepts an * `offsetParent` option ('real' vs 'floating'). * * The React source splits this into `baseArrow` + `arrow` with a `deps` * array so React can memoize the middleware. Solid doesn't need that * — consumers produce a new middleware each reactive run via a `createMemo` * or by referencing signals — so this port keeps only the base form. */ export declare const arrow: (options: ArrowOptions | Derivable) => Middleware; //# sourceMappingURL=arrow.d.ts.map