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; } export interface IMDOffset { left?: number; top?: number; } interface IMDTipState { visible?: boolean; eleAnchor?: any; tipAnchor?: any; } export interface IMDTipStyle { wrapper?: ViewStyle; 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; private refContainer; private _overlayContainer; private _overlayInstance; componentDidMount(): void; componentWillUnmount(): void; render(): JSX.Element; private onClose; private onTipPress; private onTouchableMeasured; private getPosition; private measureContent; private renderTip; } export {};