import { CONTEXT_XRAY_MANIFEST_KEY, type ContextDirective, type ContextManifest, type ContextManifestSourceRef, type ContextManifestSystemSection, type ContextManifestSource, type ContextSegmentStatus, type ContextGovernanceTier, type ContextSystemProvenance } from "../../shared/context-xray.js"; import type { EngineMessage } from "../engine/types.js"; export { CONTEXT_XRAY_MANIFEST_KEY }; export declare const CONTEXT_XRAY_REQUEST_SECTIONS_KEY = "__agentNativeContextXraySystemSections"; export interface SystemManifestSectionInput { label: string; provenance: ContextSystemProvenance; governance: ContextGovernanceTier; content: string; group?: string; sourceRef?: ContextManifestSourceRef; } export declare function buildSystemManifestSections(inputs: SystemManifestSectionInput[]): Promise; type ContextXRayEvent = { context?: Record; }; export declare function setContextXraySystemSections(event: ContextXRayEvent, sections: ContextManifestSystemSection[]): void; export declare function readContextXraySystemSections(event: ContextXRayEvent): ContextManifestSystemSection[]; export interface BuildManifestInput { threadId: string; turnId?: string; model?: string; rawMessages: EngineMessage[]; sentMessages: EngineMessage[]; appliedStatus: Map; directives: Map; protectedSegmentIds?: Set; source?: ContextManifestSource; enforceable?: boolean; systemSections?: ContextManifestSystemSection[]; } export declare function contextXrayDeepLink(threadId: string): string; export declare function buildManifest(input: BuildManifestInput): Promise; export declare function writeContextManifest(threadId: string, manifest: ContextManifest): Promise; export declare function updateManifestSegmentStatus(manifest: ContextManifest, segmentId: string, status: ContextSegmentStatus): ContextManifest; //# sourceMappingURL=manifest.d.ts.map