import { VisualComponentSchema } from '../../../base-visual-entity'; /** * Service for validating the model of a node. * Ideally, this should be done with a JSON schema validator, like ajv, but for our use case, it's not possible, * since we need to validate the model against the schema, but also against the definition of the node. * * TODO: This service should be reshaped as a Manager entity which register many validators, and each validator * should be able to validate a specific aspect of the model. This way, we could have a validator for the schema, * and another one for the definition. * * For instance, the schema validator could be used to validate the model against the schema, and the definition * validator could be used to validate the model against the definition, and check if the model is complete. In addition to that, * we could validate the model against external constraints, like whether a property is defined in an environment variable or a * property file. */ export declare class ModelValidationService { static validateNodeStatus(schema: VisualComponentSchema | undefined): string; private static validateRequiredProperties; }