import { ReactNode } from 'react';
export interface ConfirmProps {
    title: ReactNode;
    description: ReactNode;
    cancelText?: string;
    okText?: string;
    onOk?: () => boolean | void | Promise<boolean | void>;
    onCancel?: () => void;
    open?: boolean;
    confirmLoading?: boolean;
}
export declare const useAlert: () => {
    confirm: (props: ConfirmProps) => void;
};
