import type { ContextCompactionStats, ContextDeletionTarget } from "../session-manager.ts";
import type { CompactableTranscript, ContextDeletionRequest, ValidatedContextDeletionResult } from "./context-compaction-types.ts";
export declare function computeContextCompactionStats(transcript: CompactableTranscript, targets: readonly ContextDeletionTarget[]): ContextCompactionStats;
/**
 * An entry "bears task context" when it carries the user's intent for the session: a real `user`
 * message, an extension-injected `custom` message, or a branch summary (`branchSummary` role /
 * `branch_summary` entry type) that recaps an earlier branch's task.
 *
 * Verbatim compaction must always leave at least one task-bearing entry in context.
 */
export declare function validateContextDeletionRequest(request: ContextDeletionRequest, transcript: CompactableTranscript): ValidatedContextDeletionResult;
export declare function contextDeletionRequestFromObject(value: unknown, source: string): ContextDeletionRequest;
//# sourceMappingURL=context-deletion-application.d.ts.map