import { Options as DetectOverflowOptions } from '../detectOverflow'; import type { Alignment, Derivable, Middleware, Placement } from '../types'; export declare function getPlacementList(alignment: Alignment | null, autoAlignment: boolean, allowedPlacements: Array): Placement[]; export type AutoPlacementOptions = Partial; }>; /** * Optimizes the visibility of the floating element by choosing the placement * that has the most space available automatically, without needing to specify a * preferred placement. Alternative to `flip`. * @see https://floating-ui.com/docs/autoPlacement */ export declare const autoPlacement: (options?: AutoPlacementOptions | Derivable) => Middleware;