import { type MigrationTransitionRecord } from "./migration_transition_store.js"; /** transition enforce flag 是否存在(deep_coverage.ts deepCoverageEnforce 读此 + env)。 */ export declare function isTransitionEnforceEnabled(projectRoot: string): boolean; /** 创建 transition:校验 scope + 写 record(PREPARED)。 */ export declare function prepareMigrationTransition(projectRoot: string, taskIds: string[], cutoff: number, operator: string): Promise; /** MIGRATING:对各 task 跑 runMigration(scope 守卫内)+ 收集 run_ids/req_ids。 */ export declare function runMigrationPhase(transitionId: string, projectRoot: string, operator: string): Promise; /** SHADOW_VALIDATED:deep shadow 对比(before/after)+ 人工确认。 */ export declare function validateShadowPhase(transitionId: string, projectRoot: string, operator: string): Promise; /** ENFORCE_SWITCHING:验证 SHADOW_VALIDATED → 写 enforce flag → deep 权威。 */ export declare function enableDeepCoverageForTransition(transitionId: string, projectRoot: string, operator: string): Promise; /** COMPLETED:标记完成。 */ export declare function completeTransition(transitionId: string, projectRoot: string, operator: string): Promise; /** FAILED rollback:enforce 恢复 previous state + state=FAILED。migration req 不删,audit 保留。 */ export declare function rollbackTransition(transitionId: string, projectRoot: string, operator: string, reason: string): Promise;