export declare const DESTRUCTIVE_MIGRATION_ACK_REQUIRED: "DESTRUCTIVE_MIGRATION_ACK_REQUIRED"; /** * Deploy rejection message for unacknowledged destructive migrations. The * client only receives the message text (the classified error code does not * survive HTTP error serialization), so the UI matches on this to know a * blocked publish can be retried with an acknowledgment. */ export declare const DESTRUCTIVE_MIGRATION_ACK_REQUIRED_MESSAGE: "Destructive schema changes require acknowledgment before migrations can run"; /** Publish plan: migration files could not be scanned for destructive SQL. */ export declare const DESTRUCTIVE_MIGRATION_SCAN_UNAVAILABLE: "DESTRUCTIVE_MIGRATION_SCAN_UNAVAILABLE"; export type DestructiveMigrationKind = 'drop_table' | 'drop_database' | 'drop_schema' | 'truncate' | 'drop_column'; export type DestructiveMigrationFinding = { fileName: string; kind: DestructiveMigrationKind; excerpt: string; }; export type DestructiveMigrationFile = { fileName: string; sql: string; }; /** * Scans migration SQL for schema-destroying statements that require an * explicit user acknowledgment before apply/deploy. */ export declare function analyzeDestructiveMigrations(files: DestructiveMigrationFile[]): DestructiveMigrationFinding[]; //# sourceMappingURL=destructiveMigrations.d.ts.map