mcard-js
Version:
MCard - Content-addressable storage with cryptographic hashing, handle resolution, and vector search for Node.js and browsers
25 lines • 680 B
TypeScript
/**
* CLMLoader - Load and parse Cubical Logic Model files
*
* Supports YAML CLM specifications from chapters/
*/
import type { CLMSpec } from './types.js';
export declare class CLMLoader {
basePath: string;
constructor(basePath?: string);
/**
* Load a CLM file from path.
*/
load(clmPath: string): CLMSpec;
/**
* Load all CLM files from a directory.
*/
loadDirectory(dirPath: string): Map<string, CLMSpec>;
/**
* Load logic file content for a CLM.
*/
loadLogicFile(clm: CLMSpec, chapterDir: string): string | null;
private normalizeFormat;
private normalizeExamples;
}
//# sourceMappingURL=loader.d.ts.map