import { type RuntimeValidator } from '../engine/runtime.js'; import type { WorkflowApplicationFactoryContext, WorkflowApplicationImplementation } from '../workflow-application/index.js'; import { type ClassicProfile } from './classic-state.js'; export { parseClassicStateDocument } from './classic-state.js'; export interface ClassicApplicationReplacement { stepId: string; skillId: string; } /** 只在原领域证据通过之后追加工作,不移动工件、批准或验收步骤。 */ export interface ClassicApplicationExtension { id: string; afterStep: string; skillId: string; artifactRefs: readonly string[]; validator: RuntimeValidator; } export interface ClassicApplicationOptions { profile: ClassicProfile; replacements?: readonly ClassicApplicationReplacement[]; extensions?: readonly ClassicApplicationExtension[]; /** 同一检查点内可调整顺序;跨领域检查点移动会被拒绝。 */ order?: readonly string[]; executors?: WorkflowApplicationImplementation['executors']; } export declare function classicExtensionStepId(id: string): string; /** 组合 Classic 的执行绑定和新增检查,所有推进仍委托原 Classic 领域。 */ export declare function createClassicApplication(context: WorkflowApplicationFactoryContext, options: ClassicApplicationOptions): WorkflowApplicationImplementation; //# sourceMappingURL=classic-application.d.ts.map