/** * Task Migration Utility - Migrate from current-task.json to tasks.json * @requirement FREE-TIER-001 - Task Queue Management * * Cursor Integration: Ensures smooth transition so Cursor can continue reading * task context after migration */ export interface MigrationResult { success: boolean; migrated: boolean; backupCreated: boolean; backupPath?: string; error?: string; } export declare class TaskMigration { private contextDir; private currentTaskFile; private tasksFile; constructor(contextDir?: string); /** * Check if migration needed * Cursor Integration: Determines if Cursor needs to read from old or new format */ needsMigration(): Promise; /** * Migrate current-task.json to tasks.json * Cursor Integration: Preserves workflow state so Cursor context is maintained */ migrate(dryRun?: boolean): Promise; /** * Detect priority from old task format * Cursor Integration: Helps Cursor understand task priority after migration */ private detectPriorityFromOldTask; }