@syntropysoft/praetorian
Version:
Praetorian CLI – A universal multi-environment configuration validator for DevSecOps teams. Validate, compare, and secure YAML/ENV files with ease.
24 lines • 829 B
TypeScript
/**
* Pattern Validator - Functional Programming
*
* Single Responsibility: Validate string patterns only
* Pure functions, no state, no side effects
*/
import { PatternRule, PatternMatchingContext, PatternMatchingResult } from '../../shared/types/pattern';
/**
* Pure function to validate patterns against data
*/
export declare const validatePatterns: (data: any, rules: PatternRule[], context: PatternMatchingContext) => PatternMatchingResult;
/**
* Pure function to check if value is string
*/
export declare const isString: (value: any) => boolean;
/**
* Pure function to check if value is empty
*/
export declare const isEmpty: (value: any) => boolean;
/**
* Pure function to get string value safely
*/
export declare const getStringValue: (value: any) => string;
//# sourceMappingURL=PatternValidator.d.ts.map