import * as React from 'react'; import type { LayoutChangeEvent } from 'react-native'; import type { Align, PhysicalSide } from '../../utils/useAnchorPositioning'; export interface PopoverPositionerContext { /** * The side the popup was actually placed on, after collision handling. */ side: PhysicalSide; /** * The alignment the popup was actually placed with. */ align: Align; arrowRef: React.RefObject; arrowStyles: { left?: number; top?: number; }; /** * Spread onto the `Arrow` part so its position is recomputed once it has been * measured — see `useAnchorPositioning`. */ onArrowLayout: (event: LayoutChangeEvent) => void; } export declare const PopoverPositionerContext: React.Context; export declare function usePopoverPositionerContext(): PopoverPositionerContext; //# sourceMappingURL=PopoverPositionerContext.d.ts.map