UNPKG

@nodesecure/js-x-ray

Version:
15 lines 590 B
import type { CollectableSet, Type } from "./CollectableSet.ts"; import type { SourceArrayLocation } from "./utils/toArrayLocation.ts"; export declare class CollectableSetRegistry { #private; constructor(collectableSets: CollectableSet[]); add(type: Type, { value, file, location, metadata }: { value: string; file?: string | null; location: SourceArrayLocation; metadata?: Record<string, unknown>; }): void; has(type: Type): boolean; get(type: Type): CollectableSet | undefined; } //# sourceMappingURL=CollectableSetRegistry.d.ts.map