import type { Item } from "@best-agent/protocol";
import type { ConversationMessage } from "../provider/model-provider.js";
import type { ToolRegistry } from "../tool/registry.js";
export type ToolLedgerSummaryMode = "compact" | "default";
export declare function summarizeToolActivity(resultItems: Item[], tools: ToolRegistry, mode?: ToolLedgerSummaryMode, callSourceItems?: Item[]): string | undefined;
export declare function buildMicrocompressedToolLedgerConversation(items: Item[], recentItemLimit: number, tools: ToolRegistry): ConversationMessage[];
//# sourceMappingURL=tool-ledger.d.ts.map