There is no need to use to complex Terminal commands.
In Disk Utility, be sure that you set View menu to "show all devices":
in my example above, my NVMe drive is shown by its immutable manufacturer-given device-name, SHGP31-10... , and can be completely repaired, INCLUDING top-level partition scheme.
If it does not come clean, the entire Device will have to be ERASED. Just erasing the MacOS volume is useless against partition corruption.
If you used any Windows utilities that referenced the physical drive, they are completely likely to clobber the partition map. Windows is not a pleasant guest.
If you have any third-party disk Utilities installed, these are a problem because they leave the drive as a Windows New Technology File System drive, (NTFS, the W is silent) then simulate a MacOS volume structure on top of that to "save you the trouble of erasing". Instead you have untold aggravation later for a number of reasons, and the drive is not accessible unless/until the third-party utilities are loaded -- so drive is not accessible for Recovery.