import * as DialogPrimitive from "@radix-ui/react-dialog"; import * as React from "react"; import { Button, ButtonProps } from "../components"; declare const Dialog: React.FC; declare const DialogTrigger: React.ForwardRefExoticComponent>; declare const DialogClose: React.ForwardRefExoticComponent>; declare const DialogPortal: React.FC; declare const DialogOverlay: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const DIALOG_SIZES: readonly ["md", "lg", "xl", "2xl", "full"]; type DialogSizeType = (typeof DIALOG_SIZES)[number]; declare const DIALOG_HEIGHTS: readonly ["md", "lg", "xl", "2xl"]; type DialogHeightType = (typeof DIALOG_HEIGHTS)[number]; interface DialogContentProps extends React.ComponentPropsWithoutRef { size?: DialogSizeType; height?: DialogHeightType; trapFocusScope?: boolean; isAlertDialog?: boolean; preventAutoFocusOnClose?: boolean; mountPortalContainer?: HTMLElement; } declare const DialogContent: React.ForwardRefExoticComponent>; interface NewDialogHeaderProps extends React.HTMLAttributes { buttonSize?: ButtonProps["size"]; buttonVariant?: ButtonProps["variant"]; hideButton?: boolean; } declare function DialogHeader({ className, children, buttonSize, buttonVariant, hideButton, ...props }: NewDialogHeaderProps): React.JSX.Element; declare namespace DialogHeader { var displayName: string; } interface DialogContainerProps extends React.HTMLAttributes { fixedContent?: React.ReactNode; } declare function DialogContainer({ children, fixedContent, className }: DialogContainerProps): React.JSX.Element; declare namespace DialogContainer { var displayName: string; } interface DialogFooterProps extends React.HTMLAttributes { leftButtonProps?: React.ComponentProps; rightButtonProps?: React.ComponentProps; dialogCloseClassName?: string; } declare function DialogFooter({ className, children, leftButtonProps, rightButtonProps, dialogCloseClassName, ...props }: DialogFooterProps): React.JSX.Element; declare namespace DialogFooter { var displayName: string; } declare const DialogTitle: React.ForwardRefExoticComponent, "ref"> & { visual?: React.ReactNode; } & React.RefAttributes>; declare const DialogDescription: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; export { Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, }; //# sourceMappingURL=Dialog.d.ts.map