import type { AgentSourceContext } from './types.js'; interface SessionContextMetadata { key: string; name?: string; updatedAt: string; } export declare function buildSessionAgentContext(metadata: SessionContextMetadata | null | undefined, messages: readonly unknown[], expectedVersion?: string): AgentSourceContext | null; export {};