/** * Workflow Autonomous Service -- resume artifact validation helpers. * * v2.18.3 file-split: this module is the extracted sub-tree of the * pre-split `workflow-autonomous-service.ts`. It hosts the resume- * validation pipeline (`getResumeRequiredArtifacts`, * `readResumeArtifact`, `stripChangeScopePrefix`, JSON / frontmatter * validation helpers, `getResumeArtifactsStatus`, and * `createResumePlan`). The high-level orchestrator * `createAutonomousWorkflowPlan` lives in the parent module and * imports from this sibling. Function signatures and behaviour are * unchanged (verbatim move). The pure JSON / frontmatter content * validators now live in the sibling * `workflow-autonomous-resume-validation.ts` (B wave-3 file-size split). */ import type { AutonomousResumePlan } from './workflow-autonomous-types.js'; export declare function getResumeRequiredArtifacts(_sessionId: string): string[]; type ResumeArtifactsStatus = 'ready' | 'missing' | 'invalid'; declare function getResumeArtifactsStatus(artifactWorkspacePath: string, requiredArtifacts: readonly string[], sessionId: string, goal: string): ResumeArtifactsStatus; export declare function createResumePlan(sessionId: string, ready: boolean): AutonomousResumePlan; export { getResumeArtifactsStatus };