/** * The logic in this file was obtained from `@reach/popover` and modify to support an `offset`. * @see https://github.com/reach/reach-ui/blob/main/packages/popover/src/index.tsx#L117-L144 */ import { PRect } from '@reach/rect'; import { CSSProperties } from 'react'; export declare const getPosition: (targetRect?: PRect | null | undefined, popoverRect?: PRect | null | undefined, offset?: number | undefined) => CSSProperties;