wn-ts-node
Version:
Wordnet interface library - TypeScript port
15 lines • 560 B
TypeScript
import { LMFDocument, LMFLoadOptions } from 'wn-ts-core';
/**
* Check if a file is a valid LMF file
*/
export declare function isLMF(filePath: string): Promise<boolean>;
/**
* Load an LMF XML file and parse it into TypeScript data structures.
* Supports both local file paths and URLs.
*
* @param filePathOrURL - Path to the LMF XML file or URL
* @param options - Loading options
* @returns Parsed LMF document
*/
export declare function loadLMF(filePathOrURL: string, options?: LMFLoadOptions): Promise<LMFDocument>;
//# sourceMappingURL=lmf.d.ts.map