Community files: where to put master components?

In my company’s community file, can I link to an internal-only library, and include only instances of the components? Or do I need to duplicate the master components found in my internal library into the community file in order for them to work properly?

Thanks in advance