···236236237237This works across files too—just remember to `import` the file with the definition.
238238239239-### External References
239239+### External Stubs
240240241241If you don't have TypeSpec definitions for external Lexicons, you can stub them out using the `@external` decorator:
242242···249249 }
250250}
251251252252-// External stub (like .d.ts in TypeScript)
252252+// Empty stub (like .d.ts in TypeScript)
253253@external
254254namespace com.atproto.label.defs {
255255 model SelfLabels { }
256256- @token model SomeToken { } // use @token for tokens
257256}
258257```
259258···285284@external
286285namespace com.atproto.repo.defs {
287286 model StrongRef { }
287287+ @token model SomeToken { } // Note: Tokens still need @token
288288}
289289// ... more stubs
290290```