//// [tests/cases/conformance/es2020/modules/exportAsNamespace2_amd.ts] ////

//// [0.ts]
export const a = 1;
export const b = 2;

//// [1.ts]
export * as ns from './0';
ns.a;
ns.b;

//// [2.ts]
import * as foo from './1'

foo.ns.a;
foo.ns.b;

//// [0.js]
define(["require", "exports"], function (require, exports) {
    "use strict";
    exports.__esModule = true;
    exports.a = 1;
    exports.b = 2;
});
//// [1.js]
define(["require", "exports", "./0"], function (require, exports, ns) {
    "use strict";
    exports.__esModule = true;
    exports.ns = ns;
    ns.a;
    ns.b;
});
//// [2.js]
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
define(["require", "exports", "./1"], function (require, exports, foo) {
    "use strict";
    exports.__esModule = true;
    foo = __importStar(foo);
    foo.ns.a;
    foo.ns.b;
});


//// [0.d.ts]
export declare const a = 1;
export declare const b = 2;
//// [1.d.ts]
export * as ns from './0';
//// [2.d.ts]
export {};
