import type { SessionEntry } from "@caupulican/pi-agent-core/session"; import type { AgentMessage } from "@caupulican/pi-agent-core/types"; import type { MemoryPromptInclusionReport, MemoryRetrievalDiagnostics } from "../context/memory-diagnostics.ts"; import type { ContextGcReport } from "../context-gc.ts"; import type { ToolDefinition, ToolInfo } from "./types.ts"; type AuditRow = { kind: string; role?: string; entryId?: string; timestamp?: string; tokens: number; chars: number; label: string; preview: string; }; type ActiveContextAudit = { messages: AgentMessage[]; rows: AuditRow[]; }; export declare function collectActiveContextAudit(entries: SessionEntry[]): ActiveContextAudit; export declare function createCoreDiagnosticsToolDefinitions(getActiveTools: () => string[], getAllTools: () => ToolInfo[], getContextGcReport?: (messages: AgentMessage[]) => ContextGcReport, getMemoryDiagnostics?: () => { retrieval: MemoryRetrievalDiagnostics; promptInclusion: MemoryPromptInclusionReport; }): ToolDefinition[]; export {}; //# sourceMappingURL=builtin.d.ts.map