import { XmlResolverPropertyTrait, XsltBuilderPropertyTrait } from '@nodecfdi/cfdiutils-core'; import { CNodeInterface } from '@nodecfdi/cfdiutils-common'; import { MultiValidator } from './multi-validator'; import { Asserts } from './asserts'; declare const CfdiValidatorTrait_base: import("ts-mixer/dist/types/types").Class; declare abstract class CfdiValidatorTrait extends CfdiValidatorTrait_base { protected abstract createVersionedMultiValidator(): MultiValidator; /** * Validate and return the asserts from the validation process. * This method can use a xml string and a CNodeInterface, * is your responsability that the node is the representation of the content. * * @param xmlString - * @param node - */ validate(xmlString: string, node: CNodeInterface): Promise; /** * Validate and return the asserts from the validation process based on a xml string * * @param xmlString - */ validateXml(xmlString: string): Promise; /** * Validate and return the asserts from the validation process based on a node interface object * * @param node - */ validateNode(node: CNodeInterface): Promise; } export { CfdiValidatorTrait };