import type { OwnedProcessInstance } from '../../platform/process/owned-command.js'; export interface EvalExecutionState { schema: 'comet.eval.execution.v1'; runId: string; status: 'running' | 'completed' | 'interrupted' | 'stopping' | 'stopped'; error?: string; } export declare function readEvalExecutionState(project: string, id: string): Promise; export declare function writeEvalExecutionState(project: string, id: string, state: Pick): Promise; /** 规范项目根绑定容器归属;只传摘要,不把宿主私有路径写入标签。 */ export declare function evalProjectIdentity(project: string): Promise; export declare function registerEvalContainerOwnership(project: string, id: string): Promise; export declare function assertEvalContainerOwnership(project: string, id: string): Promise; export declare function assertEvalContainersStopped(project: string, id: string): Promise; /** 仅处理当前项目及实验的容器;无法复核时不能报告停止成功。 */ export declare function stopEvalContainers(project: string, id: string): Promise; /** 绑定本次登记的进程实例;PID 消失或命令完成消息都不能替代整树终止收据。 */ export declare function recordEvalProcessTermination(project: string, id: string, child: OwnedProcessInstance, confirmed: boolean): Promise; export declare function cleanupEvalExecution(project: string, id: string): Promise; export declare function releaseEvalExecutionLock(project: string, id: string): Promise; //# sourceMappingURL=eval-run-cleanup.d.ts.map