UNPKG

mcard-js

Version:

MCard - Content-addressable storage with cryptographic hashing, handle resolution, and vector search for Node.js and browsers

21 lines 833 B
/** * Loader runtimes for file ingestion. * * - LoaderRuntime: Uses loadFileToCollection utility * - CollectionLoaderRuntime: Direct file ingestion into CardCollection */ import { Runtime } from './base.js'; export declare class LoaderRuntime implements Runtime { /** * Loader runtime: load files using the standardized loadFileToCollection utility. * Returns unified metrics and results matching Python's loader builtin. */ execute(_code: string, context: unknown, config: any): Promise<unknown>; } export declare class CollectionLoaderRuntime implements Runtime { /** * Collection loader runtime: ingest files into a CardCollection and return a normalized ingest report. */ execute(_code: string, context: unknown, config: any): Promise<unknown>; } //# sourceMappingURL=loader.d.ts.map