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