import { type CSSProperties } from 'react'; import type { PopoverAnchorNative, PopoverPlacement } from './types'; export declare function usePopoverPositioning(popoverRef: React.RefObject, anchor: PopoverAnchorNative | undefined, anchorName: string, placementStyles: ExtendedCSSProperties, offsetX?: number, offsetY?: number, matchWidth?: boolean): void; type ExtendedCSSProperties = CSSProperties & { positionArea?: string; positionTryFallbacks?: string; }; export declare function getPlacementStyles(placement: PopoverPlacement): ExtendedCSSProperties; export {};