Now time to import it. Out-of-the-box, you have to use relative imports like "../../../../fetchers/surveyWithSitemap.ts", that's dull
Hopefully Astro supports import aliases, it just needs a line in the tsconfig.json
docs.astro.build/en/guides/ty...
Now "@/fetchers/surveyWithSitemap" will work