import { Modifier } from 'react-popper'; import { HeightStrategy, WidthStrategy, type OverlaySizeStrategyRange } from '../hooks/useOverlayWithTrigger.js'; /** * Check if widthStrategy is OverlaySizeStrategyRange * @internal */ export declare function isOverlaySizeStrategyRange(widthStrategy: WidthStrategy): widthStrategy is OverlaySizeStrategyRange; /** * Popper.js modifier which listens to the overlay element size and calls update * on the popper instance to reposition the element correctly. * @internal */ export declare const observeOverlaySize: Modifier<'observeOverlaySize', { resizeObserverInstance: ResizeObserver | false; }>; /** * Popper.js modifier which listens to the animation done event * to update the popper instance position. * @internal */ export declare const observeAnimationDone: Modifier<'observeAnimationDone'>; /** * Popper.js modifier which sets the popper max and/or min width of the overlay * @internal */ export declare const overlayWidthStrategyHandling: Modifier<'overlayWidthStrategyHandling', { widthStrategy: WidthStrategy; }>; /** * Popper.js modifier which sets the popper max height of the overlay * @internal */ export declare const overlayHeightStrategyHandling: Modifier<'overlayHeightStrategyHandling', { heightStrategy: HeightStrategy; }>;