import { DiagnosticFinding, DiagnosticContext } from "./types"; /** * Check that UUID primary keys use @PrimaryGeneratedColumn('uuid') * instead of @PrimaryColumn() in generated entity files. * * Issue #59: uuid PK generated with no generation strategy causes * runtime errors because the database never generates a value. */ export declare function checkPkStrategy(ctx: DiagnosticContext): DiagnosticFinding[]; /** * Check for unused imports in generated entity files. * * The code generator sometimes imports symbols (like Generated, Index) * that aren't used in the entity body. */ export declare function checkUnusedImports(ctx: DiagnosticContext): DiagnosticFinding[]; /** * Check that each field type in the schema is recognized by the generator. * * Uses the canonical fieldTypeToColumnType map as the source of truth. */ export declare function checkFieldTypeMismatch(ctx: DiagnosticContext): DiagnosticFinding[]; /** * Check that relationship targets reference existing entities. * * This overlaps with validate_schema but is included for completeness * in the diagnostic suite. */ export declare function checkRelationshipTarget(ctx: DiagnosticContext): DiagnosticFinding[]; /** * Check that generated schema can sync in PGlite without errors. * * This is an async check that imports and runs the migration sandbox. */ export declare function checkMigrationSandbox(ctx: DiagnosticContext): Promise;