Once you empty the Trash on a computer using an SSD, then that data has been permanently destroyed due to how SSDs work. The only way to recover accidentally deleted data is by restoring it from another copy of the file you have stored on other media or in a backup. The more important the data, then the more backup copies you should of that data with at least one copy stored at a physically remote location.
People should have frequent and regular backups of their computer and all external media (including the cloud) which contains important & unique data. There are a lot more new ways to permanently lose access to the data stored on the internal SSD of the recent Macs due to all the recent hardware, software, and security changes.
Apple includes the Time Machine backup software for free with every copy of macOS....the user must supply an external drive(s) and configure Time Machine to perform the backup. Of course you can manually transfer files to external media or use third party backup software as well for a secondary method of backups.
Keep in mind that iCloud and other cloud file syncing services are not backups. They only provide a file syncing service so that you can access the data from any device from any location. There are some actual online cloud backup services (Crashplan, Backblaze, etc.), but they should only be used for secondary backups since recovering data can take some time and their terms & conditions could change at any time.