import { CoreInterop } from './coreInterop.js';
/**
 * Manages the loading and unloading of models.
 * Handles communication with the core system or an external service (future support).
 */
export declare class ModelLoadManager {
    private coreInterop;
    private externalServiceUrl?;
    private headers;
    constructor(coreInterop: CoreInterop, externalServiceUrl?: string);
    /**
     * Loads a model into memory.
     * @param modelId - The ID of the model to load.
     * @throws Error - If loading via external service fails.
     */
    load(modelId: string): Promise<void>;
    /**
     * Unloads a model from memory.
     * @param modelId - The ID of the model to unload.
     * @throws Error - If unloading via external service fails.
     */
    unload(modelId: string): Promise<void>;
    /**
     * Lists the IDs of all currently loaded models.
     * @returns An array of loaded model IDs.
     * @throws Error - If listing via external service fails or if JSON parsing fails.
     */
    listLoaded(): Promise<string[]>;
}
