1 | import type { Placement } from "../enums";
|
2 | import type { Modifier, Rect, Offsets } from "../types";
|
3 | export declare type OffsetsFunction = (arg0: {
|
4 | popper: Rect;
|
5 | reference: Rect;
|
6 | placement: Placement;
|
7 | }) => [number | null | undefined, number | null | undefined];
|
8 | declare type Offset = OffsetsFunction | [number | null | undefined, number | null | undefined];
|
9 | export declare type Options = {
|
10 | offset: Offset;
|
11 | };
|
12 | export declare function distanceAndSkiddingToXY(placement: Placement, rects: {
|
13 | popper: Rect;
|
14 | reference: Rect;
|
15 | }, offset: Offset): Offsets;
|
16 | export declare type OffsetModifier = Modifier<"offset", Options>;
|
17 | declare const _default: OffsetModifier;
|
18 | export default _default;
|