import { ReactNode } from 'react';
import { ButtonProps } from '../button';
import { ModalProps } from '../modal';
import { LocaledComponentProps } from '../locale';
export interface LocaleType {
    ok?: string;
    cancel?: string;
}
export interface DialogButtonProps extends ButtonProps {
    text?: string;
}
export declare type CloseMode = 'mask' | 'cancel' | 'ok' | 'close';
export declare type FooterAction = 'cancel' | 'ok' | DialogButtonProps;
export interface DialogProps extends ModalProps, LocaledComponentProps<LocaleType> {
    visible?: boolean;
    title?: any;
    content?: string | ReactNode;
    centered?: boolean;
    vibrative?: boolean;
    platform?: 'android' | 'ios';
    type?: 'normal' | 'alert' | 'confirm';
    closeMode?: CloseMode[];
    okProps?: DialogButtonProps;
    cancelProps?: DialogButtonProps;
    footer?: any;
    footerActions?: FooterAction[];
    children?: any;
    onOk?: (e: any) => void;
    onCancel?: (e: any) => void;
    onClose?: (reason: string, e?: any) => void;
}
export interface DialogQuickInstance {
    hide: (c?: ReactNode) => void;
}
