import type { StoredMessage } from "./types.js";
export interface ToolSummarizationResult {
    messages: StoredMessage[];
    summarizedCount: number;
}
export interface SummarizeToolOutputsOptions {
    messages: StoredMessage[];
    protectedTokens: number;
}
export declare function summarizeToolOutputs(options: SummarizeToolOutputsOptions): ToolSummarizationResult;
/**
 * Calculates the total tokens that can be pruned by Phase 1.
 * This is the sum of token counts for turns with tool messages that have unprotected results.
 */
export declare function calculatePruneableTokens(messages: StoredMessage[], protectedTokens: number): number;
//# sourceMappingURL=phase1-tool-summarizer.d.ts.map