=== tests/cases/compiler/importDeclWithExportModifierInAmbientContext.ts === declare module "m" { module x { >x : any interface c { >c : c } } export import a = x.c; >a : any >x : any >c : a var b: a; >b : a >a : a }