import * as React from 'react'; import { TextStyle, ViewStyle } from 'react-native'; export interface IMDDialogBtnModel { color?: string; text: string; handle: () => void; } export interface IMDDialogProps { styles?: IMDDialogStyle; isVisible: boolean; closeable?: boolean; icon?: React.ReactNode; iconColor?: string; title?: string; context: string; btns: IMDDialogBtnModel[]; } interface IMDDialogState { isVisible: boolean; } export interface IMDDialogStyle { container?: ViewStyle; body?: ViewStyle; close?: ViewStyle; icon?: ViewStyle; title?: TextStyle; context?: TextStyle; footer?: ViewStyle; action?: ViewStyle; actionTitle?: TextStyle; } export default class Dialog extends React.Component { static defaultProps: { styles: IMDDialogStyle; }; constructor(props: IMDDialogProps); componentDidMount(): void; componentWillReceiveProps(nextProps: IMDDialogProps): void; render(): JSX.Element; private showClose; private showTitle; private showAction; private getActionStyle; private getActionTitleStyle; private visible; private close; private onPress; } export {};