import { TraceSource } from "./TraceSource"; import { IDestroyable } from "../interfaces"; export declare class Registry { static readonly instance: Registry; private _registry; private _listeners; private _nextCookie; get(id: string): TraceSource; has(id: string): boolean; add(id: any, source: TraceSource): void; _onNewSource(source: TraceSource): void; on(handler: (source: TraceSource) => void): IDestroyable; }