import type { SessionEntry } from "../session-manager-types.js";
import { type CompactionSettings } from "./compaction.js";
import { type VerbatimCompactionParameters, type VerbatimCompactionPreparation } from "./compaction-types.js";
/** Return the independently estimated cost of the protected tail. */
export declare function getKeptTailTokenEstimate(preparation: VerbatimCompactionPreparation): number;
export declare function autoDetectCompactionQuery(entries: readonly SessionEntry[]): string;
/** Prepare the complete compactable transcript and its exact context-visible message tail. */
export declare function prepareCompactionBoundary(pathEntries: SessionEntry[], settings: CompactionSettings, options?: Partial<VerbatimCompactionParameters>): VerbatimCompactionPreparation | undefined;
//# sourceMappingURL=compaction-boundary.d.ts.map