import React from "react"; import { type ViewProps } from "react-native"; import { type ColorName } from "../../theme/color"; import type { TextVariant } from "../../theme/typeScale"; export declare const TOOLTIP_TAIL_WIDTH = 18; export declare const TOOLTIP_TAIL_HEIGHT = 8; export declare const TOOLTIP_MIN_HEIGHT = 40; export declare const TOOLTIP_CLOSE_SIZE = 32; export declare const TOOLTIP_TOP_CLEARANCE: 12; export type ZSTooltipPlacement = 'top' | 'bottom'; export type ZSTooltipArrowAlign = 'start' | 'center' | 'end'; export interface ZSTooltipProps extends ViewProps { message?: string; visible?: boolean; defaultVisible?: boolean; onClose?: () => void; placement?: ZSTooltipPlacement; showClose?: boolean; floating?: boolean; backgroundColor?: ColorName | (string & {}); textColor?: ColorName | (string & {}); textVariant?: TextVariant; arrowAlign?: ZSTooltipArrowAlign; arrowOffset?: number; closeAccessibilityLabel?: string; } declare function ZSTooltip({ message, children, visible, defaultVisible, onClose, placement, showClose, floating, backgroundColor, textColor, textVariant, arrowAlign, arrowOffset, closeAccessibilityLabel, style, ...props }: ZSTooltipProps): React.JSX.Element | null; declare const _default: React.MemoExoticComponent; export default _default; //# sourceMappingURL=index.d.ts.map