Recover deleted transactions

Currently there’s no way to recover transactions that were deleted accidentally. It’d be great if there was something like a trash folder (or equivalent) to recover such transactions.