# Public API / exports map (CFA-1845)

`package.json`'s `exports` field is the only supported way to import from
this package. The `"./*": "./*"` wildcard has been removed — anything not
listed there is a private internal path and can be moved/renamed freely.

Two kinds of entries:

- Named subpaths (`./rce/RCEWrapper`, `./common/fileUrl`, etc.) — the
  intended public surface, matching what canvas-lms's `ui/` actually
  imports today.
- Legacy `./es/rce/*.js` aliases (`RCE.js`, `RCEVariants.js`,
  `RCEWrapper.js`, `RCEWrapperProps.js`) — kept only because
  `@instructure/platform-rce-adapter@0.3.0` (a published, already-external
  platform-ui package) deep-imports canvas-rce at those exact paths. Do
  not remove these until platform-rce-adapter ships a version that
  imports from the named subpaths instead.

Adding a new consumer of an internal file means adding a named export
here first, not reaching for `/es/...` or `/src/...`.
