import { type RuntimeValue } from '../engine/runtime.js'; import type { WorkflowApplicationPlan } from './compiler.js'; export interface ApplicationArtifactTestCase { workflowId: string; stepId: string; input?: RuntimeValue; activation?: RuntimeValue; state?: RuntimeValue; output: RuntimeValue; files: Readonly>; invalidCases?: readonly { name: string; output?: RuntimeValue; files: Readonly>; }[]; } export interface ApplicationArtifactVerification { schema: 'comet.workflow.artifact-verification.v1'; packageHash: string; contractsHash: string; checks: { workflowId: string; stepId: string; name: string; accepted: boolean; }[]; workflowChecks?: { workflowId: string; status: 'completed'; childRuns: number; }[]; workflowTestsHash?: string; } /** 仅在隔离项目中调用固定测试模块;审批与宿主结果使用样例,不调用真实模型。 */ export interface ApplicationWorkflowTestCase { workflowId: string; input: RuntimeValue; module: string; exportName: string; } export declare function assertWorkflowVerificationCases(plan: WorkflowApplicationPlan, required?: boolean): void; export declare function assertArtifactVerificationCases(plan: WorkflowApplicationPlan): void; /** 固定包中的验证器在隔离项目和无凭据子进程内运行;失败不能跳过后安装。 */ export declare function verifyWorkflowApplicationArtifactContracts(options: { file: string; plan: WorkflowApplicationPlan; packageHash: string; }): Promise; //# sourceMappingURL=artifact-verification.d.ts.map