Are
import type { Foo, Bar as Baz } from './'
and
type Foo = import('./').Foo
type Bar = import('./').Baz
equivalent?
Please be aware that the import() in this context is not a dynamic import but import types introduced in TypeScript 2.9. You can enter both examples into the TypeScript playground to verify that the syntax/types are valid.
I want to use import type but also create declarations for TS < 3.8.
If the above assertion is true I could apply an AST transform to the emitted declaration files.