import type Database from 'better-sqlite3'; import type { ValidationResult } from '../models/entity'; /** * Validate the entire graph for integrity violations. * Read-only: does not modify any data. * * Checks: * 1. Dangling relations (from_id or to_id references non-existent document) * 2. Type constraint violations (doc type not in relation type's from_types/to_types) * 3. Cardinality violations (one_to_one/one_to_many/many_to_one exceeded) */ export declare function validateGraph(db: Database.Database): ValidationResult; //# sourceMappingURL=graph-validation-service.d.ts.map