import { ElementDataType } from '../../types'; import * as DialogPrimitive from '@radix-ui/react-dialog'; import * as React from 'react'; /** * Dialog primitives for building modal dialogs. * Use Dialog as the root, DialogTrigger to open, and DialogContent for the modal body. */ declare const Dialog: React.FC; declare const DialogTrigger: React.ForwardRefExoticComponent>; declare const DialogPortal: React.FC; declare const DialogClose: React.ForwardRefExoticComponent>; /** * Full-screen overlay that appears behind the dialog content. * @returns {JSX.Element} The rendered DialogOverlay component. */ declare const DialogOverlay: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; export type DialogContentProps = React.ComponentPropsWithoutRef & { /** * If true, a close button will be rendered inside the dialog content. */ hasCloseButton?: true; }; /** * The main dialog content container positioned in the viewport center. * @returns {JSX.Element} The rendered DialogContent component. */ declare const DialogContent: React.ForwardRefExoticComponent, "ref"> & { /** * If true, a close button will be rendered inside the dialog content. */ hasCloseButton?: true; } & React.RefAttributes>; /** * Container for dialog header content (title, actions). * @returns {JSX.Element} The rendered DialogHeader component. */ declare const DialogHeader: { ({ className, ...props }: React.HTMLAttributes): import("react/jsx-runtime").JSX.Element; displayName: string; }; /** * Container for dialog footer actions. * @returns {JSX.Element} The rendered DialogFooter component. */ declare const DialogFooter: { ({ className, ...props }: React.HTMLAttributes): import("react/jsx-runtime").JSX.Element; displayName: string; }; /** * DialogTitle - The accessible dialog title. * @returns {JSX.Element} The rendered DialogTitle component. */ declare const DialogTitle: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; /** * DialogDescription - Additional descriptive text for the dialog. * @returns {JSX.Element} The rendered DialogDescription component. */ declare const DialogDescription: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; /** * Props aggregation for components that wrap Dialog primitives. * Useful for high-level components needing to forward props to specific Dialog parts. */ /** * Props aggregation for components that wrap Dialog primitives. * Useful for high-level components needing to forward props to specific Dialog parts. * @property {React.ComponentPropsWithoutRef & ElementDataType} [triggerProps] - Props for the DialogTrigger component. * @property {React.ComponentPropsWithoutRef & ElementDataType} [contentProps] - Props for the DialogContent component. * @property {React.ComponentPropsWithoutRef & ElementDataType} [closeProps] - Props for the DialogClose component. */ interface DialogContainerProps { triggerProps?: React.ComponentPropsWithoutRef & ElementDataType; contentProps?: React.ComponentPropsWithoutRef & ElementDataType; closeProps?: React.ComponentPropsWithoutRef & ElementDataType; } export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type DialogContainerProps, }; //# sourceMappingURL=dialog.d.ts.map