import type { ContextCompactionStats, ContextDeletionTarget } from "../session-manager.ts";
import type { CompactableTranscript, ContextDeletionRequest, ValidatedContextDeletionResult } from "./context-compaction-types.ts";
export declare function reconcileToolDependencies(transcript: CompactableTranscript, initialTargets: readonly ContextDeletionTarget[]): ContextDeletionTarget[];
export declare function computeContextCompactionStats(transcript: CompactableTranscript, targets: readonly ContextDeletionTarget[]): ContextCompactionStats;
/**
 * A provider-visible task entry carries session intent through a real `user` message,
 * extension-injected `custom` message, or branch summary. Proposed block deletions count,
 * so an entry with only omitted whitespace remaining cannot satisfy the task floor.
 *
 * Verbatim compaction must always leave at least one provider-visible task 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