/**
 * JSON Schema Validator
 *
 * Validates JSON module definition files for the frontend generator.
 * Note: Backend-specific fields (toNode, relationshipName) are warnings, not errors.
 */
import { JsonModuleDefinition } from "../types/json-schema.interface";
export interface ValidationError {
    field: string;
    message: string;
    severity: "error" | "warning";
}
/**
 * Validate JSON module definition for frontend generation
 *
 * @param schema - JSON module definition
 * @returns Array of validation errors (empty if valid)
 */
export declare function validateJsonSchema(schema: any): ValidationError[];
/**
 * Format validation errors for display
 *
 * @param errors - Validation errors
 * @returns Formatted error message
 */
export declare function formatValidationErrors(errors: ValidationError[]): string;
/**
 * Validation result interface
 */
export interface ValidationResult {
    data: JsonModuleDefinition | null;
    errors: string[];
    warnings: string[];
}
/**
 * Validate and parse JSON file from path
 *
 * @param filePath - Path to JSON file
 * @returns Validation result with data, errors, and warnings
 */
export declare function parseAndValidate(filePath: string): ValidationResult;
/**
 * Check if validation result passed (no errors)
 */
export declare function validationPassed(result: ValidationResult): boolean;
//# sourceMappingURL=json-schema-validator.d.ts.map