import type { RetryCallbacks } from "@bastani/pi-ai"; import type { AgentSessionInternalSurface } from "./agent-session-methods.ts"; export type SummarizationRetrySource = { source: "branchSummary"; } | { source: "compaction"; reason: "manual" | "threshold" | "overflow"; }; /** Bridge pi-ai retry lifecycle callbacks into the public AgentSession event stream. */ export declare function createSummarizationRetryCallbacks(session: AgentSessionInternalSurface, source: SummarizationRetrySource): RetryCallbacks; //# sourceMappingURL=summarization-retry.d.ts.map