import * as React from 'react'; export interface ModalPropsType { title?: React.ReactNode; visible: boolean; maskClosable?: boolean; renderFooter?: Action[] | React.ReactNode; onClose?: () => void; animated?: boolean; onAnimationEnd?: (visible: boolean) => void; animateAppear?: boolean; operation?: boolean; } export interface Action { text: string; onClick?: (...args: any[]) => void | Promise; style?: T | string; } export interface CallbackParams { text?: string; password?: string; } export declare type Callback = (params: CallbackParams | string) => void; export declare type CallbackOrActions = Callback | Action[];