@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 • 783 B
TypeScript
import { AbstractFileAdapter } from '../base/AbstractFileAdapter';
/**
* Properties File Adapter - Functional Programming
*
* Single Responsibility: Parse Java Properties files only
* Pure functions, no state, no side effects
*/
export declare class PropertiesFileAdapter extends AbstractFileAdapter {
canHandle(filePath: string): boolean;
read(filePath: string): Promise<Record<string, any>>;
getFormat(): string;
getSupportedExtensions(): string[];
}
/**
* Pure function to parse properties content
*/
export declare const parsePropertiesContent: (content: string) => Record<string, any>;
/**
* Pure function to parse a property value
*/
export declare const parsePropertiesValue: (value: string) => any;
//# sourceMappingURL=PropertiesFileAdapter.d.ts.map