What would be the equivalent (if any available) for LaTeX beamer’s \AtEndDocument command in Touying (or Typst documents in general)?
In LaTeX/Beamer, this command can be included in the theme file (.sty file) so that certain content is generated by default (when using the theme, of course) at the end of the slide deck. The typical use case is a copyright slide.