import React from "react"; import type { DialogBodyProps, DialogCloseProps, DialogContentProps, DialogFooterProps, DialogHandle, DialogHeaderProps, DialogRootProps, DialogScrollAreaProps, DialogTitleProps, DialogTriggerProps } from "./Dialog.types"; import { DialogActions } from "./dialogComposableShared"; /** * The Dialog root is a centered modal on * desktop, a bottom sheet on mobile. Compose it with `Dialog.Trigger`, * `Dialog.Content`, and the layout parts. */ export declare function Dialog({ onRequestClose, size, type, finalFocus, children, onOpenChange, ...rest }: DialogRootProps): React.JSX.Element; export declare namespace Dialog { var Trigger: typeof DialogTrigger; var Content: typeof DialogContent; var Header: typeof DialogHeader; var Title: typeof DialogTitle; var Close: typeof DialogClose; var Body: typeof DialogBody; var Footer: typeof DialogFooter; var Actions: typeof DialogActions; var ScrollArea: typeof DialogScrollArea; var createHandle: () => DialogHandle; } /** * Opens the dialog. Accepts an Atlantis `