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