export declare class Namespace { private name; active: any; private _set; id: any; constructor(name: string); set(key: string, value: any): any; get(key: string): any; createContext(): any; run(fn: any): any; runAndReturn(fn: any): undefined; bind(fn: any, context: any): (this: any, ...args: any[]) => any; enter(context: any): void; exit(context: any): void; bindEmitter(emitter: any): void; /** * If an error comes out of a namespace, it will have a context attached to it. * This function knows how to find it. * * @param {Error} exception Possibly annotated error. */ fromException(exception: any): any; } declare function get(name: any): Namespace; declare function create(name: string): Namespace; declare function destroy(name: string): void; declare function reset(): void; export { get as getNamespace, create as createNamespace, destroy as destroyNamespace, reset as reset }; //# sourceMappingURL=namespace.d.ts.map