import type { AgentHistoryRecord } from "@/types"; type AgentHistoryRecordType = AgentHistoryRecord["type"]; type AgentHistorySummaryCounts = Record; type AgentHistorySummary = { recordCount: number; firstAt: number | null; lastAt: number | null; counts: AgentHistorySummaryCounts; lastUserMessage: string | null; lastAssistantMessage: string | null; lastNote: string | null; lastToolName: string | null; }; /** * Builds compact summary metadata from agent history records. * Expects: records are in chronological order from oldest to newest. */ export declare function agentHistorySummary(records: AgentHistoryRecord[]): AgentHistorySummary; export {}; //# sourceMappingURL=agentHistorySummary.d.ts.map