Which should have .mjs extension, the importing file or the exporting file, or both?

I have a silly doubt. Which file, the importing file, the exporting file or both should have the .mjs file extension?

Specifically for NodeJS.

I have searched the web but didn’t get my exact answer.

Thanks in advance!