import * as React from 'react'; import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'; import { type ButtonProps } from './button'; interface AlertDialogProps extends AlertDialogPrimitive.AlertDialogProps { title?: string; description?: string; cancelTitle?: string; actionTitle?: string; onCancel?: () => void; onConfirm?: () => void; rootProps?: AlertDialogPrimitive.AlertDialogProps; triggerElement?: React.ReactElement; triggerProps?: AlertDialogPrimitive.AlertDialogTriggerProps; open?: boolean; onOpenChange?: (open: boolean) => void; portalProps?: AlertDialogPrimitive.AlertDialogPortalProps; overlayProps?: AlertDialogPrimitive.AlertDialogOverlayProps; contentProps?: AlertDialogPrimitive.AlertDialogContentProps; headerProps?: React.ComponentProps<'div'>; titleProps?: AlertDialogPrimitive.AlertDialogTitleProps; descriptionProps?: AlertDialogPrimitive.AlertDialogDescriptionProps; footerProps?: React.ComponentProps<'div'>; cancelProps?: AlertDialogPrimitive.AlertDialogCancelProps; cancelButtonProps?: ButtonProps; actionProps?: AlertDialogPrimitive.AlertDialogActionProps; actionButtonProps?: ButtonProps; } declare const AlertDialog: React.ForwardRefExoticComponent>; export { AlertDialog, type AlertDialogProps }; //# sourceMappingURL=alert-dialog.d.ts.map