First make sure you have a good backup any files on your Windows BootCamp. There is a chance you may end up not being able to boot back into Windows since I'm not sure exactly what you deleted and fixing it may require modifying the partitions with Disk Utility which will most likely stop Windows from booting.
You can boot into Recovery Mode (Command + R) to reinstall the same version of macOS which was last used on this laptop (in theory since sometimes it will only allow you to boot the installer for the OS which originally shipped with the laptop). If you want to install the latest version of macOS 12 Monterey that was just released this week, then boot into Internet Recovery Mode using Command + Option + R instead.
Launch the Terminal app from the Utilities menu and run the following command in order to list the partitions/volumes on the internal drive so we can see how to guide you into reinstalling macOS so perhaps we can save your Windows BootCamp installation:
diskutil list internal
If you don't care about saving the Windows BootCamp installation, then just launch Disk Utility and click "View" and select "Show All Devices" so that the physical drive appears on the left pane of Disk Utility. Select the physical drive which will be called something like "Apple SSD....." and erase it as GUID partition and APFS (top option). Quit Disk Utility and select "Reinstall macOS".
Edit: Erasing the drive will destroy all data on the drive.