import * as React from 'react'; import type { DialogRootProps } from './DialogRoot'; export type DialogRootMode = 'dialog' | 'alert-dialog'; /** * The shared Root implementation behind `Dialog.Root` and `AlertDialog.Root`. * * An alert dialog is a dialog that never dismisses on an outside press and * announces itself as `alertdialog`. */ export declare function useRenderDialogRoot(props: DialogRootProps, mode?: DialogRootMode): React.JSX.Element; //# sourceMappingURL=useRenderDialogRoot.d.ts.map