import type { ModelPool } from '../pool.js'; import type { ModelStore } from '../store.js'; import { ModelEngine, EngineStartContext } from '../types/index.js'; export declare const BuiltInEngines: { readonly gpt4all: "gpt4all"; readonly nodeLlamaCpp: "node-llama-cpp"; readonly transformersJs: "transformers-js"; readonly stableDiffusionCpp: "stable-diffusion-cpp"; }; export type BuiltInEngineName = typeof BuiltInEngines[keyof typeof BuiltInEngines]; export declare const builtInEngineNames: string[]; export declare class CustomEngine implements ModelEngine { pool: ModelPool; store: ModelStore; start({ pool, store }: EngineStartContext): Promise; prepareModel(): Promise; createInstance(): Promise; disposeInstance(): Promise; }