UNPKG

@syntropysoft/praetorian

Version:

Praetorian CLI – A universal multi-environment configuration validator for DevSecOps teams. Validate, compare, and secure YAML/ENV files with ease.

18 lines 655 B
import { AbstractFileAdapter } from '../base/AbstractFileAdapter'; /** * XML File Adapter - Functional Programming * * Single Responsibility: Parse XML configuration files only * Uses xml2js library for robust XML parsing */ export declare class XmlFileAdapter extends AbstractFileAdapter { canHandle(filePath: string): boolean; read(filePath: string): Promise<Record<string, any>>; getFormat(): string; getSupportedExtensions(): string[]; } /** * Pure function to parse XML content using xml2js */ export declare const parseXmlContent: (content: string) => Promise<Record<string, any>>; //# sourceMappingURL=XmlFileAdapter.d.ts.map