Folder containing account configuration?

Which directory contains all the account, signature configurations?
Can I back them up, and do a restore to a new Mailspring and restore the accounts, signatures etc?

It can vary depending on the OS. On Linux it should be under ~/.config/Mailspring/ - I have not tried to copy the folder over to a new system, but it should work.