import type { RuntimeCommandValidator, RuntimeExecutor, RuntimeValidator, WorkflowRun, WorkflowRuntime } from '../engine/runtime.js'; import type { NativePortableState } from './native-portable-types.js'; /** 只替换尚未执行的 Archive Action,原批准和实际检查历史仍保留。 */ export declare const nativeSdkImplementationRevisionCommandValidator: RuntimeCommandValidator; export declare const nativeSdkImplementationRevisionExecutor: RuntimeExecutor; export declare const nativeSdkImplementationRevisionValidator: RuntimeValidator; /** 只重新读取原修订 Action,沿用原 claim;不会执行被替换的 Archive。 */ export declare function recoverNativeSdkImplementationRevision(projectRoot: string, run: WorkflowRun, runtime: WorkflowRuntime): Promise; /** 普通 Build 只在原 Builder 明确失败且仍等待恢复决定时允许修改需求。 */ export declare function nativeSdkStoppedBuilderWait(run: Readonly): import("../engine/workflow-run.js").RuntimeWait | undefined; export declare function nativeSdkRequirementsRevisionAllowed(run: Readonly, state: NativePortableState, proposalHash?: unknown): boolean; /** 尚未领取的 Builder 可以被当前修订取代;哈希绑定原 Action,不能使用旧入口。 */ export declare function nativeSdkPendingBuilderRevisionHash(run: Readonly): string | null; export declare const nativeSdkReviseCommandValidator: RuntimeCommandValidator; export declare const nativeSdkReviseExecutor: RuntimeExecutor; export declare const nativeSdkReviseValidator: RuntimeValidator; //# sourceMappingURL=native-sdk-revise.d.ts.map