UNPKG

@accordproject/concerto-core

Version:

Core Implementation for the Concerto Modeling Language

25 lines (24 loc) 921 B
/** * Create a metamodel manager (for validation against the metamodel) * @return {ModelManager} the metamodel manager */ declare function newMetaModelManager(): any; /** * Validate metamodel instance against the metamodel * @param {object} input - the metamodel instance in JSON * @return {object} the validated metamodel instance in JSON */ declare function validateMetaModel(input: any): any; /** * Import metamodel to a model manager * @param {object} metaModel - the metamodel * @param {boolean} [validate] - whether to perform validation * @return {ModelManager} the metamodel for this model manager */ declare function modelManagerFromMetaModel(metaModel: any, validate?: boolean): any; declare const _default: { newMetaModelManager: typeof newMetaModelManager; validateMetaModel: typeof validateMetaModel; modelManagerFromMetaModel: typeof modelManagerFromMetaModel; }; export = _default;