It is still possible to recover files after you delete them from Mac Trash, you can restore deleted files with your backups, or via third-party data recovery for Mac as long as the data hasn't been overwritten.
Have you backed up your Mac with Time Machine, using an external hard drive, or iCloud Drive? If your answer is yes, you can find the deleted files there and restore them to your Mac.
If there is no backup to use, you can still try to recover emptied Mac Trash with third-party data recovery software, you should not write data to your Mac hard drive when you find you accidentally deleting files from the Mac Trash, once the data is overwritten, you can't recover deleted files even with third-party data recovery software.
iBoysoft Data Recovery for Mac is recommended for recovering deleted files on Mac for its high recovery rate, risk-free environment, Finder-like UI, etc. It supports the latest macOS Sonoma, is fully compatible with T2-secured and Apple Silicon Macs, and applies to a variety of data loss scenarios. Download it to recover your lost/deleted data now!