import { DialogTriggerProps } from "./DialogTrigger.mjs"; import { DialogHeaderProps } from "./DialogHeader.mjs"; import { DialogTitleProps } from "./DialogTitle.mjs"; import { DialogDescriptionProps } from "./DialogDescription.mjs"; import { DialogContentProps } from "./DialogContent.mjs"; import { ModalProps } from "../Overlay/Modal.mjs"; import { DialogActions } from "./DialogActions.mjs"; import { Ref } from "react"; import RAC from "react-aria-components"; export interface DialogProps extends Omit, Pick { /** * Visual variant of the component. Which values exist is defined by the theme * and listed in the "Appearance" section of the component's documentation. */ variant?: string; /** * Size of the component. Which values exist is defined by the theme and listed * in the "Appearance" section of the component's documentation. */ size?: 'xsmall' | 'small' | 'medium' | 'large' | 'fullscreen' | (string & {}); /** * Show the close button. */ closeButton?: boolean; } export declare const Dialog: (({ open, onOpenChange, children, ref, ...props }: DialogProps & { ref?: Ref; }) => import("react").JSX.Element) & { Trigger: ({ open, dismissable, keyboardDismissable, ...rest }: DialogTriggerProps) => import("react").ReactNode; Header: ({ children }: DialogHeaderProps) => import("react").JSX.Element; Title: ({ children }: DialogTitleProps) => import("react").JSX.Element; Description: ({ children }: DialogDescriptionProps) => import("react").JSX.Element; Content: ({ variant, size, children }: DialogContentProps) => import("react").JSX.Element; Actions: ({ variant, size, children }: DialogActions) => import("react").JSX.Element; };