import { OffsetOptions, ShiftOptions, FlipOptions, Padding, DetectOverflowOptions, AutoPlacementOptions, HideOptions, InlineOptions, Placement, Strategy } from '@floating-ui/dom'; import { MaybeAccessor } from '@solid-primitives/utils'; type FloatingOptions = { offset?: OffsetOptions; shift?: boolean | ShiftOptions; flip?: boolean | FlipOptions; arrow?: Padding; size?: DetectOverflowOptions & { matchSize?: boolean; fitViewPort?: boolean; }; autoPlacement?: boolean | AutoPlacementOptions; hide?: boolean | HideOptions; inline?: boolean | InlineOptions; }; type FloatingState = { placement: Placement; x: number; y: number; width?: number; height?: number; maxWidth?: number; maxHeight?: number; arrowX?: number; arrowY?: number; }; type FloatingProps = { enabled?: MaybeAccessor; reference: MaybeAccessor; floating: MaybeAccessor; arrow?: MaybeAccessor; placement?: MaybeAccessor; strategy?: MaybeAccessor; options?: MaybeAccessor; }; declare const createFloating: (props: FloatingProps) => FloatingState; export { type FloatingOptions, type FloatingState, createFloating };