import React from "react"; type Without = { [P in Exclude]?: never; }; type XOR = T | U extends object ? (Without & U) | (Without & T) : T | U; export type DialogProps = React.HTMLAttributes & { open: boolean; onClose: (val: boolean) => void; role?: "dialog" | "alertdialog"; } & XOR<{ unmount?: boolean; }, { static?: boolean; }>; declare const Dialog: React.ForwardRefExoticComponent>; export default Dialog;