/** * QA360 Pack v1 Validator * Validates pack.yml files against the official schema */ import { PackValidationResult } from '../types/pack-v1.js'; export declare class PackValidator { private ajv; private schema; constructor(); /** * Validate a pack configuration */ validate(pack: any): PackValidationResult; /** * Validate business rules beyond schema */ private validateBusinessRules; /** * Check if a value looks like a secret */ private looksLikeSecret; /** * Check if a value is a secret reference */ private isSecretReference; /** * Validate hook commands for security issues */ private validateHookSecurity; /** * Get error code from AJV error */ private getErrorCode; /** * Format error message for better UX */ private formatErrorMessage; /** * Get suggestion for fixing error */ private getSuggestion; }