/** * Validation Messages * Centralized validation error messages for consistency */ /** * Validation error message templates * Used by validators and domain services */ export declare const VALIDATION_MESSAGES: { /** Generic "cannot be empty" message */ readonly CANNOT_BE_EMPTY: (field: string) => string; /** Generic "must be positive" message */ readonly MUST_BE_POSITIVE: (field: string) => string; /** Generic "must be non-negative" message */ readonly MUST_BE_NON_NEGATIVE: (field: string) => string; /** Generic "missing required field" message */ readonly MISSING_REQUIRED_FIELD: (field: string) => string; /** ID cannot be empty */ readonly ID_EMPTY: "ID cannot be empty"; /** ID format is invalid */ readonly ID_INVALID: "ID must contain only letters, numbers, hyphens, and underscores"; /** Check name cannot be empty */ readonly CHECK_NAME_EMPTY: "Check name cannot be empty"; /** Check description cannot be empty */ readonly CHECK_DESC_EMPTY: "Check description cannot be empty"; /** Check result message cannot be empty */ readonly CHECK_RESULT_MESSAGE_EMPTY: "Check result message cannot be empty"; /** Failed check should have violations */ readonly FAILED_CHECK_NEEDS_VIOLATIONS: "Failed check should have violations"; /** Check result needs valid ID */ readonly CHECK_RESULT_INVALID_ID: "Check result must have a valid check ID"; /** Configuration validation failed */ readonly CONFIG_INVALID: "Configuration validation failed"; /** Configuration file not found */ readonly CONFIG_FILE_NOT_FOUND: (path: string) => string; /** Failed to parse configuration */ readonly CONFIG_PARSE_ERROR: (error: string) => string; /** Configuration already exists */ readonly CONFIG_ALREADY_EXISTS: "Configuration already exists. Use force option to overwrite."; /** Branch name cannot be empty */ readonly BRANCH_NAME_EMPTY: "Branch name cannot be empty"; /** Invalid branch name format */ readonly BRANCH_NAME_INVALID: "Invalid branch name format"; /** File path cannot be empty */ readonly FILE_PATH_EMPTY: "File path cannot be empty"; /** Invalid file path */ readonly FILE_PATH_INVALID: "Invalid file path"; /** Path is not a directory */ readonly PATH_NOT_DIRECTORY: (path: string) => string; /** Directory does not exist */ readonly DIRECTORY_NOT_EXIST: (path: string) => string; /** Message template missing placeholder */ readonly TEMPLATE_MISSING_PLACEHOLDER: (placeholder: string) => string; /** Message template cannot be empty */ readonly TEMPLATE_EMPTY: "Message template cannot be empty"; /** Invalid severity level */ readonly SEVERITY_INVALID: "Invalid severity level"; /** Invalid working directory */ readonly WORKING_DIR_INVALID: (reason: string) => string; /** Working directory validation failed */ readonly WORKING_DIR_VALIDATION_FAILED: "Working directory validation failed"; }; //# sourceMappingURL=ValidationMessages.d.ts.map