type Context = Map; interface ContextConstructor { new (parent?: Context): Context; } declare const Context: ContextConstructor; export = Context;