@schemashift/core 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -108,6 +108,7 @@ declare class ApprovalManager {
108
108
  * Check if a migration has been approved.
109
109
  */
110
110
  isApproved(requestId: string): boolean;
111
+ private isValidRequest;
111
112
  private ensureDir;
112
113
  }
113
114
 
@@ -304,6 +305,7 @@ declare class MigrationAuditLog {
304
305
  private generateSoc2Report;
305
306
  private generateHipaaReport;
306
307
  private collectMetadata;
308
+ private isValidAuditLog;
307
309
  private write;
308
310
  private hashContent;
309
311
  private getCurrentUser;
@@ -530,6 +532,28 @@ declare function validateConfig(config: SchemaShiftConfig): {
530
532
  declare function shouldSuppressWarning(warning: string, filePath: string, rules: WarningSuppressionRule[]): boolean;
531
533
  declare function loadConfig(configPath?: string): Promise<SchemaShiftConfig>;
532
534
 
535
+ /**
536
+ * Centralized constants for SchemaShift paths and defaults.
537
+ */
538
+ /** Directory for SchemaShift state files (.schemashift/) */
539
+ declare const SCHEMASHIFT_DIR = ".schemashift";
540
+ /** Default backup directory name */
541
+ declare const BACKUP_DIR = ".schemashift-backup";
542
+ /** Config file search names (cosmiconfig) */
543
+ declare const CONFIG_FILE_NAMES: readonly [".schemashiftrc", ".schemashiftrc.json", ".schemashiftrc.yaml", ".schemashiftrc.yml", ".schemashiftrc.js", ".schemashiftrc.cjs"];
544
+ /** Default config file name for init command */
545
+ declare const DEFAULT_CONFIG_FILE = ".schemashiftrc.json";
546
+ /** Incremental state file name (inside SCHEMASHIFT_DIR) */
547
+ declare const INCREMENTAL_STATE_FILE = "incremental.json";
548
+ /** Audit log file name (inside SCHEMASHIFT_DIR) */
549
+ declare const AUDIT_LOG_FILE = "audit-log.json";
550
+ /** Schema snapshot file name (inside SCHEMASHIFT_DIR) */
551
+ declare const SCHEMA_SNAPSHOT_FILE = "schema-snapshot.json";
552
+ /** Pending approvals subdirectory (inside SCHEMASHIFT_DIR) */
553
+ declare const PENDING_DIR = "pending";
554
+ /** Test scaffolding output subdirectory (inside SCHEMASHIFT_DIR) */
555
+ declare const TESTS_DIR = "tests";
556
+
533
557
  /**
534
558
  * Cross-Field Validation Pattern Helpers
535
559
  *
@@ -570,6 +594,28 @@ declare function conditionalValidation(conditionField: string, conditionValue: s
570
594
  */
571
595
  declare function suggestCrossFieldPattern(whenCode: string): CrossFieldPattern | null;
572
596
 
597
+ interface UnusedSchema {
598
+ schemaName: string;
599
+ filePath: string;
600
+ lineNumber: number;
601
+ }
602
+ interface DeadSchemaResult {
603
+ unusedSchemas: UnusedSchema[];
604
+ totalSchemas: number;
605
+ summary: string;
606
+ }
607
+ /**
608
+ * Detects schema definitions that are never referenced elsewhere in the codebase.
609
+ *
610
+ * Scans for variable declarations that use schema library patterns (z., yup., Joi., etc.)
611
+ * and checks if those variables are referenced in other files.
612
+ */
613
+ declare class DeadSchemaDetector {
614
+ detect(sourceFiles: SourceFile[]): DeadSchemaResult;
615
+ private collectSchemaDefinitions;
616
+ private findUnusedSchemas;
617
+ }
618
+
573
619
  interface DependencyGraphResult {
574
620
  /** Files sorted in dependency order (dependencies first) */
575
621
  sortedFiles: string[];
@@ -800,6 +846,7 @@ declare class GovernanceEngine {
800
846
  */
801
847
  registerRule(name: string, fn: GovernanceRuleFunction): void;
802
848
  analyze(project: Project): GovernanceResult;
849
+ private safeRegExp;
803
850
  private detectFileLibrary;
804
851
  private measureNestingDepth;
805
852
  private detectDynamicSchemas;
@@ -922,6 +969,34 @@ declare class GraphExporter {
922
969
  private toMermaidId;
923
970
  }
924
971
 
972
+ interface DuplicateImport {
973
+ source: string;
974
+ filePath: string;
975
+ lineNumber: number;
976
+ importedNames: string[];
977
+ }
978
+ interface DuplicateImportGroup {
979
+ source: string;
980
+ occurrences: DuplicateImport[];
981
+ suggestion: string;
982
+ }
983
+ interface ImportDeduplicationResult {
984
+ duplicateGroups: DuplicateImportGroup[];
985
+ totalDuplicates: number;
986
+ summary: string;
987
+ }
988
+ /**
989
+ * Detects duplicate import declarations within individual files.
990
+ *
991
+ * After migration, files may end up with multiple import statements from the
992
+ * same module (e.g., two `import { ... } from 'zod'` lines). This detector
993
+ * identifies those cases and suggests merging them.
994
+ */
995
+ declare class ImportDeduplicator {
996
+ detect(sourceFiles: SourceFile[]): ImportDeduplicationResult;
997
+ private findDuplicatesInFile;
998
+ }
999
+
925
1000
  interface IncrementalState {
926
1001
  migrationId: string;
927
1002
  from: SchemaLibrary;
@@ -954,6 +1029,7 @@ declare class IncrementalTracker {
954
1029
  */
955
1030
  getCanaryBatch(percent: number, fileSizes?: Map<string, number>): string[];
956
1031
  clear(): void;
1032
+ private isValidState;
957
1033
  private saveState;
958
1034
  }
959
1035
 
@@ -1035,6 +1111,7 @@ interface WebhookConfig {
1035
1111
  headers?: Record<string, string>;
1036
1112
  secret?: string;
1037
1113
  type?: WebhookType;
1114
+ timeoutMs?: number;
1038
1115
  }
1039
1116
  /**
1040
1117
  * Send migration event notifications via webhooks.
@@ -1306,4 +1383,4 @@ declare class TypeDedupDetector {
1306
1383
  private namesRelated;
1307
1384
  }
1308
1385
 
1309
- export { type AnalysisResult, type ApprovalDecision, ApprovalManager, type ApprovalStatus, type ApprovalSummary, type AuditEntry, type AuditEntryMetadata, type AuditLog, type BehavioralAnalysisResult, type BehavioralCategory, type BehavioralWarning, BehavioralWarningAnalyzer, BundleEstimator, type BundleSizeEstimate, type CallChainInfo, type ChainResult, type ChainStep, type ChainStepResult, type ChainValidation, CompatibilityAnalyzer, type CompatibilityResult, type ComplexityEstimate, ComplexityEstimator, type ComplexityWarning, type CrossFieldPattern, type CustomRule, type DependencyGraphResult, type DetailedAnalysisResult, DetailedAnalyzer, DriftDetector, type DriftModification, type DriftResult, type DuplicateTypeCandidate, type DurationEstimate, EcosystemAnalyzer, type EcosystemIssue, type EcosystemReport, type EffortLevel, type FileComplexity, type FixResult, type FixSummary, type FormLibraryDetection, FormResolverMigrator, type FormResolverResult, GOVERNANCE_TEMPLATES, GovernanceEngine, GovernanceFixer, type GovernanceResult, type GovernanceRuleConfig, type GovernanceRuleFunction, type GovernanceTemplate, type GovernanceViolation, type GraphExportOptions, GraphExporter, type GraphNode, type IncrementalState, IncrementalTracker, type LibraryBundleInfo, type LibraryVersionInfo, type MethodCallInfo, MigrationAuditLog, MigrationChain, type MigrationEvent, type MigrationEventType, type MigrationReadiness, type MigrationRequest, type MigrationTemplate, type MigrationTemplateStep, type MonorepoInfo, type MonorepoPackage, MonorepoResolver, type NotificationResult, type PackageChange, type PackageUpdatePlan, PackageUpdater, type ParallelBatch, type PerformanceAnalysisResult, PerformanceAnalyzer, type PerformanceCategory, type PerformanceWarning, type PluginLoadResult, PluginLoader, type ScaffoldedTest, SchemaAnalyzer, type SchemaComplexity, SchemaDependencyResolver, type SchemaFileSnapshot, type SchemaInfo, type SchemaLibrary, type SchemaShiftConfig, type SchemaShiftPlugin, type SchemaSnapshot, type SchemaVerificationResult, StandardSchemaAdvisor, type StandardSchemaAdvisory, type StandardSchemaInfo, type TestScaffoldResult, TestScaffolder, TransformEngine, type TransformError, type TransformHandler, type TransformOptions, type TransformResult, TypeDedupDetector, type TypeDedupResult, type VerificationMismatch, type VerificationReport, type VerificationSample, type VersionIssue, type WarningSuppressionRule, type WebhookConfig, WebhookNotifier, type WebhookType, type WorkspaceManager, buildCallChain, computeParallelBatches, conditionalValidation, createVerificationReport, dependentFields, detectFormLibraries, detectSchemaLibrary, detectStandardSchema, extractSchemaNames, formatVerificationReport, generateSamples, getAllMigrationTemplates, getGovernanceTemplate, getGovernanceTemplateNames, getGovernanceTemplatesByCategory, getMigrationTemplate, getMigrationTemplateNames, getMigrationTemplatesByCategory, isInsideComment, isInsideStringLiteral, loadConfig, mutuallyExclusive, parseCallChain, requireIf, requireOneOf, shouldSuppressWarning, startsWithBase, suggestCrossFieldPattern, transformMethodChain, validateConfig, validateMigrationTemplate };
1386
+ export { AUDIT_LOG_FILE, type AnalysisResult, type ApprovalDecision, ApprovalManager, type ApprovalStatus, type ApprovalSummary, type AuditEntry, type AuditEntryMetadata, type AuditLog, BACKUP_DIR, type BehavioralAnalysisResult, type BehavioralCategory, type BehavioralWarning, BehavioralWarningAnalyzer, BundleEstimator, type BundleSizeEstimate, CONFIG_FILE_NAMES, type CallChainInfo, type ChainResult, type ChainStep, type ChainStepResult, type ChainValidation, CompatibilityAnalyzer, type CompatibilityResult, type ComplexityEstimate, ComplexityEstimator, type ComplexityWarning, type CrossFieldPattern, type CustomRule, DEFAULT_CONFIG_FILE, DeadSchemaDetector, type DeadSchemaResult, type DependencyGraphResult, type DetailedAnalysisResult, DetailedAnalyzer, DriftDetector, type DriftModification, type DriftResult, type DuplicateImport, type DuplicateImportGroup, type DuplicateTypeCandidate, type DurationEstimate, EcosystemAnalyzer, type EcosystemIssue, type EcosystemReport, type EffortLevel, type FileComplexity, type FixResult, type FixSummary, type FormLibraryDetection, FormResolverMigrator, type FormResolverResult, GOVERNANCE_TEMPLATES, GovernanceEngine, GovernanceFixer, type GovernanceResult, type GovernanceRuleConfig, type GovernanceRuleFunction, type GovernanceTemplate, type GovernanceViolation, type GraphExportOptions, GraphExporter, type GraphNode, INCREMENTAL_STATE_FILE, type ImportDeduplicationResult, ImportDeduplicator, type IncrementalState, IncrementalTracker, type LibraryBundleInfo, type LibraryVersionInfo, type MethodCallInfo, MigrationAuditLog, MigrationChain, type MigrationEvent, type MigrationEventType, type MigrationReadiness, type MigrationRequest, type MigrationTemplate, type MigrationTemplateStep, type MonorepoInfo, type MonorepoPackage, MonorepoResolver, type NotificationResult, PENDING_DIR, type PackageChange, type PackageUpdatePlan, PackageUpdater, type ParallelBatch, type PerformanceAnalysisResult, PerformanceAnalyzer, type PerformanceCategory, type PerformanceWarning, type PluginLoadResult, PluginLoader, SCHEMASHIFT_DIR, SCHEMA_SNAPSHOT_FILE, type ScaffoldedTest, SchemaAnalyzer, type SchemaComplexity, SchemaDependencyResolver, type SchemaFileSnapshot, type SchemaInfo, type SchemaLibrary, type SchemaShiftConfig, type SchemaShiftPlugin, type SchemaSnapshot, type SchemaVerificationResult, StandardSchemaAdvisor, type StandardSchemaAdvisory, type StandardSchemaInfo, TESTS_DIR, type TestScaffoldResult, TestScaffolder, TransformEngine, type TransformError, type TransformHandler, type TransformOptions, type TransformResult, TypeDedupDetector, type TypeDedupResult, type UnusedSchema, type VerificationMismatch, type VerificationReport, type VerificationSample, type VersionIssue, type WarningSuppressionRule, type WebhookConfig, WebhookNotifier, type WebhookType, type WorkspaceManager, buildCallChain, computeParallelBatches, conditionalValidation, createVerificationReport, dependentFields, detectFormLibraries, detectSchemaLibrary, detectStandardSchema, extractSchemaNames, formatVerificationReport, generateSamples, getAllMigrationTemplates, getGovernanceTemplate, getGovernanceTemplateNames, getGovernanceTemplatesByCategory, getMigrationTemplate, getMigrationTemplateNames, getMigrationTemplatesByCategory, isInsideComment, isInsideStringLiteral, loadConfig, mutuallyExclusive, parseCallChain, requireIf, requireOneOf, shouldSuppressWarning, startsWithBase, suggestCrossFieldPattern, transformMethodChain, validateConfig, validateMigrationTemplate };
package/dist/index.d.ts CHANGED
@@ -108,6 +108,7 @@ declare class ApprovalManager {
108
108
  * Check if a migration has been approved.
109
109
  */
110
110
  isApproved(requestId: string): boolean;
111
+ private isValidRequest;
111
112
  private ensureDir;
112
113
  }
113
114
 
@@ -304,6 +305,7 @@ declare class MigrationAuditLog {
304
305
  private generateSoc2Report;
305
306
  private generateHipaaReport;
306
307
  private collectMetadata;
308
+ private isValidAuditLog;
307
309
  private write;
308
310
  private hashContent;
309
311
  private getCurrentUser;
@@ -530,6 +532,28 @@ declare function validateConfig(config: SchemaShiftConfig): {
530
532
  declare function shouldSuppressWarning(warning: string, filePath: string, rules: WarningSuppressionRule[]): boolean;
531
533
  declare function loadConfig(configPath?: string): Promise<SchemaShiftConfig>;
532
534
 
535
+ /**
536
+ * Centralized constants for SchemaShift paths and defaults.
537
+ */
538
+ /** Directory for SchemaShift state files (.schemashift/) */
539
+ declare const SCHEMASHIFT_DIR = ".schemashift";
540
+ /** Default backup directory name */
541
+ declare const BACKUP_DIR = ".schemashift-backup";
542
+ /** Config file search names (cosmiconfig) */
543
+ declare const CONFIG_FILE_NAMES: readonly [".schemashiftrc", ".schemashiftrc.json", ".schemashiftrc.yaml", ".schemashiftrc.yml", ".schemashiftrc.js", ".schemashiftrc.cjs"];
544
+ /** Default config file name for init command */
545
+ declare const DEFAULT_CONFIG_FILE = ".schemashiftrc.json";
546
+ /** Incremental state file name (inside SCHEMASHIFT_DIR) */
547
+ declare const INCREMENTAL_STATE_FILE = "incremental.json";
548
+ /** Audit log file name (inside SCHEMASHIFT_DIR) */
549
+ declare const AUDIT_LOG_FILE = "audit-log.json";
550
+ /** Schema snapshot file name (inside SCHEMASHIFT_DIR) */
551
+ declare const SCHEMA_SNAPSHOT_FILE = "schema-snapshot.json";
552
+ /** Pending approvals subdirectory (inside SCHEMASHIFT_DIR) */
553
+ declare const PENDING_DIR = "pending";
554
+ /** Test scaffolding output subdirectory (inside SCHEMASHIFT_DIR) */
555
+ declare const TESTS_DIR = "tests";
556
+
533
557
  /**
534
558
  * Cross-Field Validation Pattern Helpers
535
559
  *
@@ -570,6 +594,28 @@ declare function conditionalValidation(conditionField: string, conditionValue: s
570
594
  */
571
595
  declare function suggestCrossFieldPattern(whenCode: string): CrossFieldPattern | null;
572
596
 
597
+ interface UnusedSchema {
598
+ schemaName: string;
599
+ filePath: string;
600
+ lineNumber: number;
601
+ }
602
+ interface DeadSchemaResult {
603
+ unusedSchemas: UnusedSchema[];
604
+ totalSchemas: number;
605
+ summary: string;
606
+ }
607
+ /**
608
+ * Detects schema definitions that are never referenced elsewhere in the codebase.
609
+ *
610
+ * Scans for variable declarations that use schema library patterns (z., yup., Joi., etc.)
611
+ * and checks if those variables are referenced in other files.
612
+ */
613
+ declare class DeadSchemaDetector {
614
+ detect(sourceFiles: SourceFile[]): DeadSchemaResult;
615
+ private collectSchemaDefinitions;
616
+ private findUnusedSchemas;
617
+ }
618
+
573
619
  interface DependencyGraphResult {
574
620
  /** Files sorted in dependency order (dependencies first) */
575
621
  sortedFiles: string[];
@@ -800,6 +846,7 @@ declare class GovernanceEngine {
800
846
  */
801
847
  registerRule(name: string, fn: GovernanceRuleFunction): void;
802
848
  analyze(project: Project): GovernanceResult;
849
+ private safeRegExp;
803
850
  private detectFileLibrary;
804
851
  private measureNestingDepth;
805
852
  private detectDynamicSchemas;
@@ -922,6 +969,34 @@ declare class GraphExporter {
922
969
  private toMermaidId;
923
970
  }
924
971
 
972
+ interface DuplicateImport {
973
+ source: string;
974
+ filePath: string;
975
+ lineNumber: number;
976
+ importedNames: string[];
977
+ }
978
+ interface DuplicateImportGroup {
979
+ source: string;
980
+ occurrences: DuplicateImport[];
981
+ suggestion: string;
982
+ }
983
+ interface ImportDeduplicationResult {
984
+ duplicateGroups: DuplicateImportGroup[];
985
+ totalDuplicates: number;
986
+ summary: string;
987
+ }
988
+ /**
989
+ * Detects duplicate import declarations within individual files.
990
+ *
991
+ * After migration, files may end up with multiple import statements from the
992
+ * same module (e.g., two `import { ... } from 'zod'` lines). This detector
993
+ * identifies those cases and suggests merging them.
994
+ */
995
+ declare class ImportDeduplicator {
996
+ detect(sourceFiles: SourceFile[]): ImportDeduplicationResult;
997
+ private findDuplicatesInFile;
998
+ }
999
+
925
1000
  interface IncrementalState {
926
1001
  migrationId: string;
927
1002
  from: SchemaLibrary;
@@ -954,6 +1029,7 @@ declare class IncrementalTracker {
954
1029
  */
955
1030
  getCanaryBatch(percent: number, fileSizes?: Map<string, number>): string[];
956
1031
  clear(): void;
1032
+ private isValidState;
957
1033
  private saveState;
958
1034
  }
959
1035
 
@@ -1035,6 +1111,7 @@ interface WebhookConfig {
1035
1111
  headers?: Record<string, string>;
1036
1112
  secret?: string;
1037
1113
  type?: WebhookType;
1114
+ timeoutMs?: number;
1038
1115
  }
1039
1116
  /**
1040
1117
  * Send migration event notifications via webhooks.
@@ -1306,4 +1383,4 @@ declare class TypeDedupDetector {
1306
1383
  private namesRelated;
1307
1384
  }
1308
1385
 
1309
- export { type AnalysisResult, type ApprovalDecision, ApprovalManager, type ApprovalStatus, type ApprovalSummary, type AuditEntry, type AuditEntryMetadata, type AuditLog, type BehavioralAnalysisResult, type BehavioralCategory, type BehavioralWarning, BehavioralWarningAnalyzer, BundleEstimator, type BundleSizeEstimate, type CallChainInfo, type ChainResult, type ChainStep, type ChainStepResult, type ChainValidation, CompatibilityAnalyzer, type CompatibilityResult, type ComplexityEstimate, ComplexityEstimator, type ComplexityWarning, type CrossFieldPattern, type CustomRule, type DependencyGraphResult, type DetailedAnalysisResult, DetailedAnalyzer, DriftDetector, type DriftModification, type DriftResult, type DuplicateTypeCandidate, type DurationEstimate, EcosystemAnalyzer, type EcosystemIssue, type EcosystemReport, type EffortLevel, type FileComplexity, type FixResult, type FixSummary, type FormLibraryDetection, FormResolverMigrator, type FormResolverResult, GOVERNANCE_TEMPLATES, GovernanceEngine, GovernanceFixer, type GovernanceResult, type GovernanceRuleConfig, type GovernanceRuleFunction, type GovernanceTemplate, type GovernanceViolation, type GraphExportOptions, GraphExporter, type GraphNode, type IncrementalState, IncrementalTracker, type LibraryBundleInfo, type LibraryVersionInfo, type MethodCallInfo, MigrationAuditLog, MigrationChain, type MigrationEvent, type MigrationEventType, type MigrationReadiness, type MigrationRequest, type MigrationTemplate, type MigrationTemplateStep, type MonorepoInfo, type MonorepoPackage, MonorepoResolver, type NotificationResult, type PackageChange, type PackageUpdatePlan, PackageUpdater, type ParallelBatch, type PerformanceAnalysisResult, PerformanceAnalyzer, type PerformanceCategory, type PerformanceWarning, type PluginLoadResult, PluginLoader, type ScaffoldedTest, SchemaAnalyzer, type SchemaComplexity, SchemaDependencyResolver, type SchemaFileSnapshot, type SchemaInfo, type SchemaLibrary, type SchemaShiftConfig, type SchemaShiftPlugin, type SchemaSnapshot, type SchemaVerificationResult, StandardSchemaAdvisor, type StandardSchemaAdvisory, type StandardSchemaInfo, type TestScaffoldResult, TestScaffolder, TransformEngine, type TransformError, type TransformHandler, type TransformOptions, type TransformResult, TypeDedupDetector, type TypeDedupResult, type VerificationMismatch, type VerificationReport, type VerificationSample, type VersionIssue, type WarningSuppressionRule, type WebhookConfig, WebhookNotifier, type WebhookType, type WorkspaceManager, buildCallChain, computeParallelBatches, conditionalValidation, createVerificationReport, dependentFields, detectFormLibraries, detectSchemaLibrary, detectStandardSchema, extractSchemaNames, formatVerificationReport, generateSamples, getAllMigrationTemplates, getGovernanceTemplate, getGovernanceTemplateNames, getGovernanceTemplatesByCategory, getMigrationTemplate, getMigrationTemplateNames, getMigrationTemplatesByCategory, isInsideComment, isInsideStringLiteral, loadConfig, mutuallyExclusive, parseCallChain, requireIf, requireOneOf, shouldSuppressWarning, startsWithBase, suggestCrossFieldPattern, transformMethodChain, validateConfig, validateMigrationTemplate };
1386
+ export { AUDIT_LOG_FILE, type AnalysisResult, type ApprovalDecision, ApprovalManager, type ApprovalStatus, type ApprovalSummary, type AuditEntry, type AuditEntryMetadata, type AuditLog, BACKUP_DIR, type BehavioralAnalysisResult, type BehavioralCategory, type BehavioralWarning, BehavioralWarningAnalyzer, BundleEstimator, type BundleSizeEstimate, CONFIG_FILE_NAMES, type CallChainInfo, type ChainResult, type ChainStep, type ChainStepResult, type ChainValidation, CompatibilityAnalyzer, type CompatibilityResult, type ComplexityEstimate, ComplexityEstimator, type ComplexityWarning, type CrossFieldPattern, type CustomRule, DEFAULT_CONFIG_FILE, DeadSchemaDetector, type DeadSchemaResult, type DependencyGraphResult, type DetailedAnalysisResult, DetailedAnalyzer, DriftDetector, type DriftModification, type DriftResult, type DuplicateImport, type DuplicateImportGroup, type DuplicateTypeCandidate, type DurationEstimate, EcosystemAnalyzer, type EcosystemIssue, type EcosystemReport, type EffortLevel, type FileComplexity, type FixResult, type FixSummary, type FormLibraryDetection, FormResolverMigrator, type FormResolverResult, GOVERNANCE_TEMPLATES, GovernanceEngine, GovernanceFixer, type GovernanceResult, type GovernanceRuleConfig, type GovernanceRuleFunction, type GovernanceTemplate, type GovernanceViolation, type GraphExportOptions, GraphExporter, type GraphNode, INCREMENTAL_STATE_FILE, type ImportDeduplicationResult, ImportDeduplicator, type IncrementalState, IncrementalTracker, type LibraryBundleInfo, type LibraryVersionInfo, type MethodCallInfo, MigrationAuditLog, MigrationChain, type MigrationEvent, type MigrationEventType, type MigrationReadiness, type MigrationRequest, type MigrationTemplate, type MigrationTemplateStep, type MonorepoInfo, type MonorepoPackage, MonorepoResolver, type NotificationResult, PENDING_DIR, type PackageChange, type PackageUpdatePlan, PackageUpdater, type ParallelBatch, type PerformanceAnalysisResult, PerformanceAnalyzer, type PerformanceCategory, type PerformanceWarning, type PluginLoadResult, PluginLoader, SCHEMASHIFT_DIR, SCHEMA_SNAPSHOT_FILE, type ScaffoldedTest, SchemaAnalyzer, type SchemaComplexity, SchemaDependencyResolver, type SchemaFileSnapshot, type SchemaInfo, type SchemaLibrary, type SchemaShiftConfig, type SchemaShiftPlugin, type SchemaSnapshot, type SchemaVerificationResult, StandardSchemaAdvisor, type StandardSchemaAdvisory, type StandardSchemaInfo, TESTS_DIR, type TestScaffoldResult, TestScaffolder, TransformEngine, type TransformError, type TransformHandler, type TransformOptions, type TransformResult, TypeDedupDetector, type TypeDedupResult, type UnusedSchema, type VerificationMismatch, type VerificationReport, type VerificationSample, type VersionIssue, type WarningSuppressionRule, type WebhookConfig, WebhookNotifier, type WebhookType, type WorkspaceManager, buildCallChain, computeParallelBatches, conditionalValidation, createVerificationReport, dependentFields, detectFormLibraries, detectSchemaLibrary, detectStandardSchema, extractSchemaNames, formatVerificationReport, generateSamples, getAllMigrationTemplates, getGovernanceTemplate, getGovernanceTemplateNames, getGovernanceTemplatesByCategory, getMigrationTemplate, getMigrationTemplateNames, getMigrationTemplatesByCategory, isInsideComment, isInsideStringLiteral, loadConfig, mutuallyExclusive, parseCallChain, requireIf, requireOneOf, shouldSuppressWarning, startsWithBase, suggestCrossFieldPattern, transformMethodChain, validateConfig, validateMigrationTemplate };