import React from 'react';
export interface WxConfirmOptions {
    title?: string;
    message: React.ReactNode;
    onConfirm: () => Promise<boolean> | void;
    onCancel?: () => void;
}
/**
 * 弹出确认提示框
 * @param options.title 标题
 * @param options.message 展示的通知文本或者元素
 * @param options.onSucess 点击确定按钮的回调，支持Promise
 * @param options.onCancel 点击取消按钮的回调
 */
export default function wxConfirm(options: WxConfirmOptions): void;
export interface IWxConfirmProps {
    onClose: any;
    options: WxConfirmOptions;
}
