import type { ContractClaim } from './types.js'; export type MigrationSchemaType = 'prisma' | 'drizzle' | 'sql'; /** * Extracts database migration contracts from Prisma schemas, Drizzle TS schemas, * or raw SQL CREATE TABLE statements. * * All regexes with /g flag are declared inside functions to prevent * lastIndex state persistence across calls (JS regex gotcha). */ export declare function extractMigrationContracts(source: string, filePath: string, schemaType: MigrationSchemaType): ContractClaim[];