import type { AgentSystem } from "../types.js"; import type { ChatSystemMessage } from "../../chat/types.js"; /** Server-authored UTC facts captured once for one agent run. */ export type AgentRunRuntimeContext = Readonly<{ currentTimeUtc: string; currentDateUtc: string; runStartedAtUtc: string; }>; /** Capture the immutable UTC snapshot for one agent run. */ export declare function captureAgentRunRuntimeContext(now?: Date): AgentRunRuntimeContext; /** Render the authoritative UTC snapshot as a reserved system block. */ export declare function buildAgentRunRuntimeContextPromptBlock(context: AgentRunRuntimeContext): string; /** Replace authored reserved blocks and append the server snapshot last. */ export declare function withAgentRunRuntimeContext(instructions: string, context: AgentRunRuntimeContext): string; export declare function withAgentRunRuntimeContext(instructions: ChatSystemMessage[], context: AgentRunRuntimeContext): ChatSystemMessage[]; export declare function withAgentRunRuntimeContext(instructions: AgentSystem, context: AgentRunRuntimeContext): AgentSystem; /** Add the exact run snapshot to response diagnostics without dropping other metadata. */ export declare function withAgentRunRuntimeContextMetadata(context: AgentRunRuntimeContext, metadata?: Record): Record; //# sourceMappingURL=run-runtime-context.d.ts.map