import React from 'react'; export type DialogContextValue = { open: boolean; onOpenChange: (open: boolean) => void; idPrefix: string; hasDescription: boolean; setHasDescription: React.Dispatch>; }; export type DialogProps = { open?: boolean; defaultOpen?: boolean; onOpenChange?: (open: boolean) => void; children: React.ReactNode; }; type DialogRootComponent = { (props: Readonly): React.JSX.Element; displayName?: string; }; declare const DialogRoot: DialogRootComponent; export type DialogTriggerProps = { children: React.ReactNode; asChild?: boolean; } & Omit, 'children'>; type DialogTriggerComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const DialogTrigger: DialogTriggerComponent; export type DialogContentProps = React.HTMLAttributes & { closeLabel?: string; closeOnEscape?: boolean; closeOnOverlayClick?: boolean; hideCloseButton?: boolean; containerClassName?: string; }; type DialogContentComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const DialogContent: DialogContentComponent; export type DialogHeaderProps = React.HTMLAttributes; type DialogHeaderComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const DialogHeader: DialogHeaderComponent; export type DialogTitleProps = React.HTMLAttributes; type DialogTitleComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const DialogTitle: DialogTitleComponent; export type DialogDescriptionProps = React.HTMLAttributes; type DialogDescriptionComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const DialogDescription: DialogDescriptionComponent; export type DialogBodyProps = React.HTMLAttributes; type DialogBodyComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const DialogBody: DialogBodyComponent; export type DialogFooterProps = React.HTMLAttributes; type DialogFooterComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const DialogFooter: DialogFooterComponent; type DialogComponent = typeof DialogRoot & { Trigger: typeof DialogTrigger; Content: typeof DialogContent; Header: typeof DialogHeader; Title: typeof DialogTitle; Description: typeof DialogDescription; Body: typeof DialogBody; Footer: typeof DialogFooter; }; export declare const Dialog: DialogComponent; export default Dialog; //# sourceMappingURL=index.d.ts.map