import React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; export interface CoachmarkProps { message?: string; autoShow?: boolean; onHide?: () => void; onShow?: () => void; isAnchorReady?: boolean; renderArrow?: CoachmarkViewProps['renderArrow']; renderContent?: CoachmarkViewProps['renderContent']; accessibilityLabel?: string; testID?: string; contentContainerStyle?: StyleProp; } export declare enum CoachmarkPosition { TOP = "top", BOTTOM = "bottom" } export interface CoachmarkArrowProps { position: CoachmarkPosition; x: number; } export interface CoachmarkContentProps { message?: string; buttonText?: string; } export declare type CoachmarkViewProps = { renderArrow: (options: { x: number; position: CoachmarkPosition; }) => React.ReactElement; renderContent?: (options: { x: number; position: CoachmarkPosition; }) => React.ReactElement; } & CoachmarkContentProps & CoachmarkArrowProps;