I'm using a JS module, with typings from Definitely Typed, that has this structure:
declare namespace Foo {
interface Bar {}
}
declare module "abc" {
function f(): Foo.Bar
namespace f {
}
export = f;
}
How can I import the Bar interface from "abc"?
Fooas global object, along with"abc"module, and the only thing you can import from"abc"isf.