Scopes are the foundation of ArkType, and one of the most powerful features for users wanting full control over configuration and to make their own keywords available fluidly within string definition syntax.
A scope is just like a scope in code- it's a resolution space where you can define types, generics, etc. type is a actually just a method on a Scope!
Scope also has a method is called export. That method takes all the public names in your scope, and wraps them in an object called a Module so you can access them directly.
A lot of the time, if you don't need to create additional types in your scope, you can just .export() it right away.