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