/**
 * Stage artifact scaffolding for RCASD lifecycle stages.
 *
 * Ensures each stage has a canonical markdown artifact under:
 *   .cleo/rcasd/{epicId}/{stage-subdir}/{epicId}-{stage}.md
 *
 * Frontmatter is maintained with related links so backlinks can be
 * discovered via frontmatter graph traversal.
 *
 * @task T5217
 */
import { type RelatedLink } from './frontmatter.js';
import { type Stage } from './stages.js';
export interface StageArtifactResult {
    absolutePath: string;
    outputFile: string;
    related: RelatedLink[];
}
/**
 * Ensure stage artifact exists and frontmatter/backlinks are up to date.
 */
export declare function ensureStageArtifact(epicId: string, stage: Stage, cwd?: string): Promise<StageArtifactResult>;
//# sourceMappingURL=stage-artifacts.d.ts.map