/** * Jira Mate Data Migration Utilities * * Migrates legacy .ticket-mate structures to canonical schema. * Handles field name changes, missing fields, and obsolete structures. */ import type { JmMateConfig, JmMateProjectMeta, JmMateTicketMeta } from '../ticketMateTypes'; /** * Migrate legacy config to canonical JmMateConfig */ export declare function migrateLegacyConfig(input: any): JmMateConfig; /** * Check if config needs migration */ export declare function needsConfigMigration(input: any): boolean; /** * Migrate legacy project meta to canonical JmMateProjectMeta */ export declare function migrateLegacyProjectMeta(input: any, projectKey: string): JmMateProjectMeta; /** * Check if project meta needs migration */ export declare function needsProjectMetaMigration(input: any): boolean; /** * Migrate legacy ticket meta to canonical JmMateTicketMeta */ export declare function migrateLegacyTicketMeta(input: any, projectKey: string, ticketKey: string): JmMateTicketMeta; /** * Check if ticket meta needs migration */ export declare function needsTicketMetaMigration(input: any): boolean; /** * Validate config matches canonical schema */ export declare function validateConfig(config: any): { valid: boolean; errors: string[]; }; /** * Validate project meta matches canonical schema */ export declare function validateProjectMeta(meta: any): { valid: boolean; errors: string[]; }; /** * Validate ticket meta matches canonical schema */ export declare function validateTicketMeta(meta: any): { valid: boolean; errors: string[]; }; //# sourceMappingURL=ticketMateMigrations.d.ts.map