import { DialogTriggerProps } from "./DialogTrigger.cjs"; import { DialogHeaderProps } from "./DialogHeader.cjs"; import { DialogTitleProps } from "./DialogTitle.cjs"; import { DialogDescriptionProps } from "./DialogDescription.cjs"; import { DialogContentProps } from "./DialogContent.cjs"; import { ModalProps } from "../Overlay/Modal.cjs"; import { DialogActions } from "./DialogActions.cjs"; 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; };