=== tests/cases/compiler/ambientExternalModuleWithoutInternalImportDeclaration_1.ts === /// import A = require('M'); >A : typeof A var c = new A(); >c : A >new A() : A >A : typeof A === tests/cases/compiler/ambientExternalModuleWithoutInternalImportDeclaration_0.ts === declare module 'M' { module C { >C : typeof C export var f: number; >f : number } class C { >C : C foo(): void; >foo : () => void } export = C; >C : C }