fix: Missing types in generated typings d.ts files.
Some types where not exported due to a comment containing @internal,
that is used both by typedoc to ignore the element in the generated
docs, and by the ts compiler when outputing types. Use only @ignore,
to omit it from docs.