import { IAlertDialogProps } from '../components';
/**
 * Hook that provides a way to show alert dialogs imperatively without needing a provider.
 * Creates a portal and renders the AlertDialog component directly in the DOM.
 *
 * @returns An object containing the alertDialog function
 *
 * @example
 * ```tsx
 * const { alertDialog } = useAlertDialog();
 *
 * const handleDeleteClick = async () => {
 *   const confirmed = await alertDialog({
 *     title: 'Delete Item',
 *     description: 'Are you sure you want to delete this item?',
 *     ctaLabel: 'Delete',
 *     cancelText: 'Cancel',
 *     isDestructive: true,
 *   });
 *
 *   if (confirmed) {
 *     // Handle confirmation
 *     deleteItem();
 *   }
 * };
 * ```
 */
export default function useAlertDialog(): {
    alertDialog: (options: Omit<IAlertDialogProps, "isOpen" | "onAccept" | "onCancel">) => Promise<boolean>;
};
