import * as React from 'react'; import type { ModalFuncProps, ModalLocale } from './interface'; export interface ConfirmModalProps extends ModalFuncProps { prefixCls: string; afterClose?: () => void; close?: (...args: any[]) => void; /** * `close` prop support `...args` that pass to the developer * that we can not break this. * Provider `onClose` for internal usage */ onConfirm?: (confirmed: boolean) => void; autoFocusButton?: null | 'ok' | 'cancel'; rootPrefixCls?: string; /** @private Internal Usage. Do not override this */ locale?: ModalLocale; /** * Do not throw if is await mode */ isSilent?: () => boolean; } declare const ConfirmModalWrapper: React.FC; export default ConfirmModalWrapper;