import { type RuntimeContextPreprocessedBundle } from "./context-runtime-preprocessor.js"; import type { PhasePlaybook } from "./types.js"; export type RuntimeContextLoadMode = "full" | "excerpt" | "reference-only"; export interface RuntimeContextManifestEntry { path: string; sha256: string | null; loadMode: RuntimeContextLoadMode; source: "phase-playbook" | "rule" | "runtime-instructions"; required: boolean; reason: string; missing: boolean; excerpt?: string; } export interface RuntimeContextManifest { taskId: string; phase: string; role: string; generatedAt: string; entries: RuntimeContextManifestEntry[]; contextPack?: RuntimeContextPackReference; preprocessedContext?: RuntimeContextPreprocessedBundle; } export type RuntimeContextPackReference = { status: "ready"; jsonArtifact: string; markdownArtifact: string; usedChars: number; targetChars: number; truncated: boolean; reason: string; } | { status: "unavailable"; reason: string; }; export declare function buildRuntimeContextManifest({ root, taskId, phase, role, phasePlaybook, contextPack, ownershipPaths, }: { root: string; taskId: string; phase: string; role: string; phasePlaybook?: PhasePlaybook; contextPack?: RuntimeContextPackReference; ownershipPaths?: string[]; }): Promise; export declare function renderRuntimeContextManifestMarkdown(manifest: RuntimeContextManifest): string;