import * as React from 'react'; import { TextStyle, ViewStyle } from 'react-native'; export interface IMDTipProps { styles?: IMDTipStyle; content: string | number; placement?: string; icon?: React.ReactNode; offset?: IMDOffset; fill?: boolean; onShow?: () => void; onHide?: () => void; } interface IMDOffset { left?: number; top?: number; } interface IMDTipState { visible?: boolean; eleAnchor?: any; tipAnchor?: any; tipGuid?: string; } interface IMDTipStyle { contentText?: TextStyle; tip?: ViewStyle; tipBg?: ViewStyle; tipArrow?: ViewStyle; arrowBottom?: ViewStyle; arrowLeft?: ViewStyle; arrowRight?: ViewStyle; tipsContent?: ViewStyle; iconClose?: ViewStyle; closeText?: TextStyle; } export declare const MDTipStyles: IMDTipStyle; export default class MDTip extends React.Component { static defaultProps: { styles: IMDTipStyle; placement: string; fill: boolean; offset: {}; }; constructor(props: IMDTipProps); private touchable; componentWillUnmount(): void; render(): JSX.Element; private onClose; private onHandlePress; private onTouchableMeasured; private onTipMeasured; private getPosition; private measureContent; private renderTip; } export {};