import type { Boundary, Context, Placement, RootBoundary } from '@popperjs/core/lib/enums';
import type { Padding, SideObject, State } from '@popperjs/core/lib/types';
export type Options = {
    placement: Placement;
    boundary: Boundary;
    rootBoundary: RootBoundary;
    elementContext: Context;
    altBoundary: boolean;
    padding: Padding;
};
export default function detectOverflow(state: State, options?: Partial<Options>): SideObject;
