Split API into 2 go packages Upstream-commit: 1805ef1cccabd3c1beccf88cec98d6a06a1c9188 Component: engine