import { type StageArtifactPaths } from "./core/paths.js"; import type { SenaiState } from "./core/state.js"; export interface StageContext { mission: string; runId: string; stage: string; artifacts: StageArtifactPaths; } export declare function resolveSkillPath(stage: string): string; export declare function loadSkill(stage: string): string; export declare function substituteArtifactPaths(text: string, artifacts: StageArtifactPaths): string; /** Framework lock line for the plan stage: the planner must know the locked * framework (chirpi's .pi/senai/framework.json) before writing the plan's * `## Framework` field — the approve gate enforces an exact match. The safe * reader never throws; a missing or malformed lock reads as "none locked". */ export declare function buildFrameworkLockBlock(cwd: string): string; export declare function buildStagePrompt(cwd: string, state: SenaiState, stage: string): { skill: string; context: StageContext; prompt: string; };