import type { Boundary, Placement, RootBoundary } from '@popperjs/core/lib/enums';
import type { Modifier, Padding, Rect } from '@popperjs/core/lib/types';
type TetherOffset = ((options: {
    popper: Rect;
    reference: Rect;
    placement: Placement;
}) => number) | number;
export type Options = {
    mainAxis: boolean;
    altAxis: boolean;
    boundary: Boundary;
    rootBoundary: RootBoundary;
    altBoundary: boolean;
    /**
     * Allows the popper to overflow from its boundaries to keep it near its
     * reference element
     */
    tether: boolean;
    tetherOffset: TetherOffset;
    padding: Padding;
};
export type PreventOverflowModifier = Modifier<'preventOverflow', Options>;
declare const _default: PreventOverflowModifier;
export default _default;
