//#region src/components/overlays/_internal/modal-dialog-context.d.ts type ModalDialogContextValue = { registerLabelledBy: (id: string | undefined) => void; registerDescribedBy: (id: string | undefined) => void; }; declare const ModalDialogProvider: import("react").Context; /** * Modal(ネイティブ ``)配下かどうか。配下なら値が返り、単体利用では null。 * createSafeContext を使わないのは、Popover 内・単体でも動く Dialog.Root から * 「Modal 配下ではない」を例外なしで判定するため。 */ declare const useModalDialogContext: () => ModalDialogContextValue | null; //#endregion export { ModalDialogContextValue, ModalDialogProvider, useModalDialogContext };