For instance take "com_google_protobuf" defined by https://github.com/protocolbuffers/protobuf.
It should show some list like
:timestamp
:duration
.
.
.
You can get a list of these if a package in your own repository already depends on a rule from an external package.
With
bazel query 'deps(//path/to/rule)'