import { View } from 'react-native'; import type { Align, PhysicalSide } from '../../utils/useAnchorPositioning'; import type { TransitionStatus } from '../../internals/useTransitionStatus'; import type { ZestUIComponentProps } from '../../types'; /** * A container for the tooltip contents. * Renders a ``. */ export declare function TooltipPopup(componentProps: TooltipPopup.Props): import("react").ReactElement>; export interface TooltipPopupState { /** * Whether the tooltip is currently open. */ open: boolean; /** * The transition status of the tooltip: `'starting'` as it opens (auto-clears * to `undefined` after one frame), `'ending'` once it is closing. */ transitionStatus: TransitionStatus; /** * 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 TooltipPopupProps extends ZestUIComponentProps { } export declare namespace TooltipPopup { type State = TooltipPopupState; type Props = TooltipPopupProps; } //# sourceMappingURL=TooltipPopup.d.ts.map