How to integrate Typescript files into a "create-react-kotlin-app" project?

2 questions, really:

  1. How is ‘ts2kt-automator’ invoked from within a “create-react-kotlin-app” (CRKA) project?

  2. Can ‘ts2kt-automator’ be pointed at a locally constructed Typescript declaration file (‘*.d.ts’) or is a remote npmjs dependency download, the only way?

I have also used the standalone ‘ts2kt’ to generate Kotlin files, against my own type declarations, however, I have a thing about correctness and want to fully understand the workflow involved with a CRKA project.