/// import * as crypto from 'crypto'; interface ValidateXMLOptions { silent?: boolean; } interface ValidationResponse { isValid: boolean; cert?: crypto.X509Certificate; error?: string; /** * True when the signature only verified after dropping the indentation * between elements: the issuer signed the compact XML and pretty-printed it * afterwards. The signed data is unchanged. */ whitespaceNormalized?: boolean; } /** * This function validates the XML signature of a given XML string. * 1. Extracts the Signature node from the XML. * 2. Validates the signature. * 3. Validates the certificate. * 4. Checks if the certificate is expired. * 5. Returns the validation response including the certificate object with the customer data * @param xml * @param options Optional * @returns ValidationResponse */ export declare const validateXMLCertificate: (xml: string, options?: ValidateXMLOptions) => ValidationResponse; export {};