refactor: only export the public API in the DSO.