import * as React from 'react'; import { View } from 'react-native'; import { type Align, type PhysicalSide, type UseAnchorPositioningSharedParameters } from '../../utils/useAnchorPositioning'; import type { ZestUIComponentProps } from '../../types'; /** * Positions the popover against the trigger. * Renders a ``. */ export declare function PopoverPositioner(componentProps: PopoverPositioner.Props): React.JSX.Element; export interface PopoverPositionerState { /** * Whether the popover is currently open. */ open: boolean; /** * The side the popup was actually placed on, after collision handling. */ side: PhysicalSide; /** * The alignment the popup was actually placed with. */ align: Align; /** * The trigger's measured width, available for consumers to size the popup * against its anchor. This is the React Native equivalent of the web's * `--anchor-width` CSS variable. */ triggerWidth: number | undefined; /** * The trigger's measured height. */ triggerHeight: number | undefined; } export interface PopoverPositionerProps extends UseAnchorPositioningSharedParameters, ZestUIComponentProps { } export declare namespace PopoverPositioner { type State = PopoverPositionerState; type Props = PopoverPositionerProps; } //# sourceMappingURL=PopoverPositioner.d.ts.map