import type { ChatMessage, ProviderId, SuccessfulRequestSnapshot } from "../../types.js"; export interface CompactionReplaySelectionInput { readonly snapshot: SuccessfulRequestSnapshot | undefined; readonly history: readonly ChatMessage[]; readonly provider: ProviderId; readonly model: string; readonly contextLimitTokens: number | undefined; readonly durableEnvelope: string | undefined; } export declare const selectCompactionReplaySnapshot: (input: CompactionReplaySelectionInput) => SuccessfulRequestSnapshot | undefined;