import { Dialog as DialogPrimitive } from '@base-ui/react/dialog'; import * as React from 'react'; declare function Dialog({ modal, ...props }: DialogPrimitive.Root.Props): React.JSX.Element; declare function DialogTrigger({ ...props }: DialogPrimitive.Trigger.Props): React.JSX.Element; declare namespace DialogTrigger { var displayName: string; } declare function DialogPortal({ ...props }: DialogPrimitive.Portal.Props): React.JSX.Element; declare namespace DialogPortal { var displayName: string; } declare function DialogClose({ ...props }: DialogPrimitive.Close.Props): React.JSX.Element; declare namespace DialogClose { var displayName: string; } export interface DialogOverlayProps extends DialogPrimitive.Backdrop.Props { /** Disables open/close animations */ disableAnimation?: boolean; /** Disables backdrop blur effect */ disableBackdropBlur?: boolean; } declare function DialogOverlay({ className, disableAnimation, disableBackdropBlur, ...props }: DialogOverlayProps): React.JSX.Element; declare namespace DialogOverlay { var displayName: string; } export interface DialogContentProps extends DialogPrimitive.Popup.Props { showCloseButton?: boolean; /** Controls focus behavior when dialog opens. Set to false to prevent auto-focus. */ initialFocus?: boolean | React.RefObject; /** Disables open/close animations */ disableAnimation?: boolean; /** Disables backdrop blur effect */ disableBackdropBlur?: boolean; } declare const DialogPopup: React.ForwardRefExoticComponent & React.RefAttributes>; declare function DialogContent({ className, children, showCloseButton, initialFocus, disableAnimation, disableBackdropBlur, ...props }: DialogContentProps): React.JSX.Element; declare namespace DialogContent { var displayName: string; } declare function DialogHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element; declare namespace DialogHeader { var displayName: string; } declare function DialogFooter({ className, showCloseButton, children, ...props }: React.ComponentProps<'div'> & { showCloseButton?: boolean; }): React.JSX.Element; declare namespace DialogFooter { var displayName: string; } declare function DialogTitle({ className, ...props }: DialogPrimitive.Title.Props): React.JSX.Element; declare namespace DialogTitle { var displayName: string; } declare function DialogDescription({ className, ...props }: DialogPrimitive.Description.Props): React.JSX.Element; declare namespace DialogDescription { var displayName: string; } declare const DialogNamespace: typeof Dialog & { Trigger: typeof DialogTrigger; Portal: typeof DialogPortal; Close: typeof DialogClose; Overlay: typeof DialogOverlay; Content: typeof DialogContent; Header: typeof DialogHeader; Footer: typeof DialogFooter; Title: typeof DialogTitle; Description: typeof DialogDescription; }; export { DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogNamespace as Dialog, DialogOverlay, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, };