title: Python library with alternative .pyi files for internal vs external api
body: <p>I have a python library that uses a <code>.pyi</code> file for type hinting. It also exposes that file externally, but I would like to remove the internal api from the public file.</p>
  <p>Is there an accepted method for using one <code>.pyi</code> file to type hint the full internal api for a library and then exposing a trimmed down <code>.pyi</code> file that just contains type hints for the public api?</p>