import { AlertDialog as AlertDialogPrimitive } from '@base-ui/react/alert-dialog'; import type * as React from 'react'; import { Button } from './button.js'; declare function AlertDialog({ ...props }: AlertDialogPrimitive.Root.Props): React.JSX.Element; declare function AlertDialogTrigger({ ...props }: AlertDialogPrimitive.Trigger.Props): React.JSX.Element; declare namespace AlertDialogTrigger { var displayName: string; } declare function AlertDialogPortal({ ...props }: AlertDialogPrimitive.Portal.Props): React.JSX.Element; declare namespace AlertDialogPortal { var displayName: string; } export interface AlertDialogOverlayProps extends AlertDialogPrimitive.Backdrop.Props { /** Disables open/close animations */ disableAnimation?: boolean; /** Disables backdrop blur effect */ disableBackdropBlur?: boolean; } declare function AlertDialogOverlay({ className, disableAnimation, disableBackdropBlur, ...props }: AlertDialogOverlayProps): React.JSX.Element; declare namespace AlertDialogOverlay { var displayName: string; } export interface AlertDialogContentProps extends AlertDialogPrimitive.Popup.Props { size?: 'default' | 'sm'; /** Disables open/close animations */ disableAnimation?: boolean; /** Disables backdrop blur effect */ disableBackdropBlur?: boolean; } declare function AlertDialogContent({ className, size, disableAnimation, disableBackdropBlur, ...props }: AlertDialogContentProps): React.JSX.Element; declare namespace AlertDialogContent { var displayName: string; } declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element; declare namespace AlertDialogHeader { var displayName: string; } declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element; declare namespace AlertDialogFooter { var displayName: string; } declare function AlertDialogMedia({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element; declare namespace AlertDialogMedia { var displayName: string; } declare function AlertDialogTitle({ className, ...props }: React.ComponentProps): React.JSX.Element; declare namespace AlertDialogTitle { var displayName: string; } declare function AlertDialogDescription({ className, ...props }: React.ComponentProps): React.JSX.Element; declare namespace AlertDialogDescription { var displayName: string; } declare function AlertDialogAction({ className, ...props }: React.ComponentProps): React.JSX.Element; declare namespace AlertDialogAction { var displayName: string; } declare function AlertDialogCancel({ className, appearance, variant, size, ...props }: AlertDialogPrimitive.Close.Props & Pick, 'appearance' | 'variant' | 'size'>): React.JSX.Element; declare namespace AlertDialogCancel { var displayName: string; } declare const AlertDialogNamespace: typeof AlertDialog & { Trigger: typeof AlertDialogTrigger; Portal: typeof AlertDialogPortal; Overlay: typeof AlertDialogOverlay; Content: typeof AlertDialogContent; Header: typeof AlertDialogHeader; Footer: typeof AlertDialogFooter; Media: typeof AlertDialogMedia; Title: typeof AlertDialogTitle; Description: typeof AlertDialogDescription; Action: typeof AlertDialogAction; Cancel: typeof AlertDialogCancel; }; export { AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogNamespace as AlertDialog, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, };