import { Uuid } from '@ui/lib/types/utils/uuid'; class IdLibrary { private idMap: Map = new Map(); public init() { this.idMap.clear(); } public get(figmaId: string): Uuid | undefined { return this.idMap.get(figmaId); } public register(figmaId: string, id: Uuid) { this.idMap.set(figmaId, id); } } export const idLibrary = new IdLibrary();