import * as React from "react"; import { Button } from "@/components/ui/button"; import { Dialog } from "@/components/ui/dialog"; export type AlertDialogProps = Omit, "children"> & { title?: React.ReactNode; description?: React.ReactNode; icon?: React.ReactNode; cancelLabel?: React.ReactNode; actionLabel?: React.ReactNode; actionTone?: "default" | "destructive"; cancelVariant?: React.ComponentProps["variant"]; loading?: boolean; closeOnAction?: boolean; confirmValue?: string; confirmLabel?: React.ReactNode; confirmPlaceholder?: string; confirmDescription?: React.ReactNode; confirmCaseSensitive?: boolean; severityNote?: React.ReactNode; errorMessage?: React.ReactNode; onActionError?: (error: unknown) => void; onAction?: () => void | Promise; children?: React.ReactNode; preventCloseWhileLoading?: boolean; actionButtonProps?: Omit, "type" | "variant" | "loading" | "disabled" | "onClick" | "children">; cancelButtonProps?: Omit, "type" | "variant" | "disabled" | "children">; }; declare function AlertDialog({ title, description, icon, cancelLabel, actionLabel, actionTone, cancelVariant, loading, closeOnAction, confirmValue, confirmLabel, confirmPlaceholder, confirmDescription, confirmCaseSensitive, severityNote, errorMessage, onActionError, onAction, children, preventCloseWhileLoading, actionButtonProps, cancelButtonProps, onOpenChange, ...props }: AlertDialogProps): React.JSX.Element; export { AlertDialog };