import { type ThinkingLevel } from "@earendil-works/pi-agent-core";
import type { Api, Model } from "@earendil-works/pi-ai/compat";
import type { ContextCompactionPreparation, ValidatedContextDeletionResult } from "./context-compaction-types.ts";
export declare const CONTEXT_COMPACTION_MAX_TURNS = 50;
export declare const CONTEXT_COMPACTION_MAX_PLANNER_NUDGES = 50;
export interface ContextCompactionLadderOptions {
    acceptanceTokenBudget?: number;
    criticalEvictionTokenBudget?: number;
}
export declare function contextCompact(preparation: ContextCompactionPreparation, model: Model<Api>, apiKey: string, headers?: Record<string, string>, signal?: AbortSignal, thinkingLevel?: ThinkingLevel, ladder?: ContextCompactionLadderOptions): Promise<ValidatedContextDeletionResult>;
//# sourceMappingURL=context-compaction-runner.d.ts.map