Hi there, for the Photos Library you deleted, the easiest way is to go to the Mac Trash and restore them back immediately if you deleted the Photos Library in 30 days. You can either to connect Time Machine backup drive to restore the files if you have one. If you don't have a backup drive, then use iBoysoft Data Recovery Software to scan for the deleted files on your device ASAP or the files can be overwritten with new data.
Do not hesitate and try this wonderful tool right now!