import { DialogProps } from './index';
import type { ReactNode } from 'react';
export type DialogConfirmProps = Omit<DialogProps, 'visible' | 'closeOnAction' | 'actions'> & {
    confirmText?: ReactNode;
    cancelText?: ReactNode;
    onConfirm?: () => void | Promise<void>;
    onCancel?: () => void | Promise<void>;
};
export declare function confirm(p: DialogConfirmProps): Promise<boolean>;
