export declare const PLAN_GENERATION_MARKER = "program-pipeline:plan-generation"; export declare const LEGACY_PLAN_GENERATION = "legacy"; export interface PlanManifestEnvelope { program?: { planGeneration?: unknown; }; } export declare function readPlanGeneration(manifestPath: string): Promise; export declare function specGeneration(content: string): string | undefined; export declare function stampSpecGeneration(content: string, generation: string): string; /** Atomically replace a text artifact, leaving the previous file intact on failure. */ export declare function atomicWriteText(path: string, content: string): Promise; /** Stable fallback for plans created before generation metadata existed. */ export declare function legacyGenerationFingerprint(manifest: string, program: string): string; //# sourceMappingURL=plan-generation.d.ts.map