13 lines
480 B
TypeScript
13 lines
480 B
TypeScript
import type { State, SideObject, Padding, PositioningStrategy } from "../types";
|
|
import type { Placement, Boundary, RootBoundary, Context } from "../enums";
|
|
export declare type Options = {
|
|
placement: Placement;
|
|
strategy: PositioningStrategy;
|
|
boundary: Boundary;
|
|
rootBoundary: RootBoundary;
|
|
elementContext: Context;
|
|
altBoundary: boolean;
|
|
padding: Padding;
|
|
};
|
|
export default function detectOverflow(state: State, options?: Partial<Options>): SideObject;
|