@typecad/typecad
Version:
🤖programmatically 💥create 🛰️hardware
19 lines (18 loc) • 544 B
TypeScript
export declare class ComponentRegistry {
private static instance;
private components;
getComponentCount(): number;
getUuidToHashCount(): number;
private uuidToHash;
private cachePath;
private constructor();
static getInstance(): ComponentRegistry;
private loadFromCache;
private saveToCache;
private getPCBPositionHash;
private getComponentHash;
getUUID(component: any): string;
findComponentHashByUUID(uuid: string): string | undefined;
getAllUUIDs(): string[];
clear(): void;
}