/**
 * Diff-preview helpers — worker context and knowledge-fabric snapshot rendering.
 */
import type { KnowledgeFabricBundle, KnowledgeFabricSnapshot } from '../../engines/knowledge-fabric.js';
import type { WorkerContextPacket } from '../runtime.js';
/** Renders a WorkerContextPacket as Markdown for context files / artifacts. */
export declare function renderWorkerContextMarkdown(context: WorkerContextPacket): string;
/** Projects a KnowledgeFabricBundle down to its snapshot shape. */
export declare function toKnowledgeFabricSnapshot(bundle: KnowledgeFabricBundle): KnowledgeFabricSnapshot;
