import type { NativePortableState } from './native-portable-types.js'; import type { RuntimeValue } from '../engine/runtime.js'; export type NativeRecoveryCode = 'archive-blocked' | 'archive-preflight-blocked' | 'acceptance-input-invalid' | 'candidate-drift' | 'verification-report-drift' | 'shape-drift' | 'execution-unresolved' | 'runtime-recovery-required' | 'workspace-conflict' | 'git-lock'; export interface NativeRecovery { schema: 'comet.native.recovery.v1'; code: NativeRecoveryCode; reason: string; affectedPaths: string[]; owner: unknown | null; diagnosticArgs: string[]; recoveryArgs: string[] | null; request?: RuntimeValue; preconditions: string[]; preserved: { candidateId: string | null; shapeConfirmationHash: string | null; }; } export declare function nativeRecoveryCommand(args: readonly string[], projectRoot?: string): string[]; /** 只投影恢复步骤;推进权仍属于原 Run、事务和审批。 */ export declare function nativeRecoveryForContinuation(options: { state: NativePortableState; continuation: { disposition: string; commandArgs: string[] | null; requiredInputs: string[]; }; projectRoot?: string; reason?: string; }): NativeRecovery | undefined; //# sourceMappingURL=native-recovery.d.ts.map