import type { ModelContextInstructionLayer } from "@opengeni/sdk"; import type { SessionEvent } from "../../types.js"; /** One titled part of the sent instructions: a layer, or a prompt module inside one. */ export type InstructionSection = { key: string; title: string; text: string; tokens: number | null; /** 1 = a prompt module inside the operational contract. */ depth: 0 | 1; }; /** * The captured instruction layers as titled sections. A layer that reports * its prompt modules (sessions with agent settings) is followed by one * section per module, sliced from the layer by the reported lengths; when * the lengths don't add up, the layer stays whole. */ export declare function instructionSections(layers: readonly ModelContextInstructionLayer[]): InstructionSection[]; export declare function ModelContextInspectorPane(props: { workspaceId: string; sessionId: string; events: SessionEvent[]; isRunning?: boolean | undefined; }): import("react").JSX.Element;