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 menu against the trigger. * Renders a ``. */ export declare function MenuPositioner(componentProps: MenuPositioner.Props): React.JSX.Element; export interface MenuPositionerState { open: boolean; side: PhysicalSide; 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 MenuPositionerProps extends UseAnchorPositioningSharedParameters, ZestUIComponentProps { } export declare namespace MenuPositioner { type State = MenuPositionerState; type Props = MenuPositionerProps; } //# sourceMappingURL=MenuPositioner.d.ts.map