import type { ReactNode } from 'react'; export interface DialogRootProps { /** The dialog trigger with its associated dialog. Provide the trigger as the first child, and the dialog as the second child. */ children: ReactNode; /** Whether the dialog is open (controlled). */ isOpen?: boolean; /** Whether the dialog is open by default (uncontrolled). */ defaultOpen?: boolean; /** Handler that is called when the dialog's open state changes. */ onOpenChange?: (isOpen: boolean) => void; } /** * Encapsulates a dialog trigger and its associated dialog. * The trigger can be any Cimpress UI button, and the dialog will be displayed when the trigger is activated. */ export declare function DialogRoot(props: DialogRootProps): import("react/jsx-runtime").JSX.Element; export declare namespace DialogRoot { var displayName: string; } //# sourceMappingURL=dialog-root.d.ts.map