//// [exportSpecifierReferencingOuterDeclaration1.ts]
declare module X { export interface bar { } }
declare module "m" {
    export { X };
    export function foo(): X.bar;
}

//// [exportSpecifierReferencingOuterDeclaration1.js]
