/******************************************************************************* * Copyright (c) 2025-2026 Maxprograms. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/org/documents/epl-v10.html * * Contributors: * Maxprograms - initial API and implementation *******************************************************************************/ import { HybridTM } from './hybridtm.js'; export interface HybridTMInstanceMetadata { name: string; filePath: string; modelName: string; createdAt: string; } export declare class HybridTMFactory { private static readonly STORAGE_FILE_NAME; private static singleton; private readonly storageDir; private readonly registryFile; private readonly registry; private loaded; private constructor(); static listInstances(): HybridTMInstanceMetadata[]; static createInstance(name: string, filePath: string, modelName: string): HybridTM; static getInstance(name: string): HybridTM | undefined; static removeInstance(name: string): void; static getWorkingDirectory(): string; private static resolveStorageDirectory; private static getSingleton; private listInstancesInternal; private createInstanceInternal; private getInstanceInternal; private removeInstanceInternal; private getWorkingDirectoryInternal; private ensureLoaded; private loadRegistry; private coerceMetadata; private persistRegistry; }