Importing Notes from one mac to another?
The ‘Import to Notes’ function imports text files. Notes itself stores its files in a SQLite database, which is contained within the group.com.apple.notes group container.

~/Library/Group Containers/group.com.apple.notes/


To use this as your Notes database, quit Notes and copy the contents to the group container on your current system.