import * as React from 'react'; import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'; import { dialogContentVariants } from '../Dialog'; import { ButtonProps } from '../Button'; import { VariantProps } from 'class-variance-authority'; declare const AlertDialog: ({ onCancel, ...props }: AlertDialogPrimitive.AlertDialogProps & { onCancel?: (() => void) | undefined; }) => import("react/jsx-runtime").JSX.Element; declare const AlertDialogTrigger: React.ForwardRefExoticComponent>; declare const AlertDialogOverlay: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; export interface AlertDialogContentProps extends React.ComponentPropsWithoutRef, VariantProps { } declare const AlertDialogContent: React.ForwardRefExoticComponent>; declare const AlertDialogHeader: { ({ className, ...props }: React.HTMLAttributes): import("react/jsx-runtime").JSX.Element; displayName: string; }; declare const AlertDialogFooter: { ({ className, ...props }: React.HTMLAttributes): import("react/jsx-runtime").JSX.Element; displayName: string; }; declare const AlertDialogTitle: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const AlertDialogDescription: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const AlertDialogAction: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const AlertDialogCancel: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const AlertDialogClose: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; export interface AlertDialogBaseProps extends AlertDialogPrimitive.AlertDialogProps, Omit { onCancel?: ButtonProps['onClick']; onOk?: ButtonProps['onClick']; cancelText?: React.ReactNode; okText?: React.ReactNode; title?: React.ReactNode; content?: React.ReactNode; children?: React.ReactNode; } export { AlertDialog, AlertDialogTrigger, AlertDialogOverlay, AlertDialogHeader, AlertDialogContent, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, AlertDialogClose, };