import * as React from 'react'; import type { useDialogRoot } from './useDialogRoot'; export interface DialogRootContext extends useDialogRoot.ReturnValue { /** * If `true`, the dialog supports CSS-based animations and transitions. * It is kept in the DOM until the animation completes. */ animated: boolean; /** * Determines if the dialog is nested within a parent dialog. */ hasParentDialog: boolean; /** * Determines whether the dialog should close when clicking outside of it. * @default true */ dismissible?: boolean; } export declare const DialogRootContext: React.Context; export declare function useDialogRootContext(): DialogRootContext;