UNPKG

@syntropysoft/praetorian

Version:

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

22 lines 739 B
import { AbstractFileAdapter } from '../base/AbstractFileAdapter'; /** * HCL File Adapter - Functional Programming * * Single Responsibility: Parse HCL configuration files only * Pure functions, no state, no side effects */ export declare class HclFileAdapter extends AbstractFileAdapter { canHandle(filePath: string): boolean; read(filePath: string): Promise<Record<string, any>>; getFormat(): string; getSupportedExtensions(): string[]; } /** * Pure function to parse HCL content */ export declare const parseHclContent: (content: string) => Record<string, any>; /** * Pure function to parse an HCL value */ export declare const parseHclValue: (value: string) => any; //# sourceMappingURL=HclFileAdapter.d.ts.map