import { type ContextBudget } from '../../domain/compaction/context-budget.js'; export declare function estimateTokens(text: string, charsPerToken?: number): number; export type CompactionState = ContextBudget['current']['state']; export declare function recommendCompactionLevel(percentage: number, thresholds: ContextBudget['thresholds']): CompactionState; export declare function loadBudget(budgetPath: string): Promise; export declare function saveBudget(budgetPath: string, budget: ContextBudget): Promise; export declare function updateBudgetState(budgetPath: string, estimatedInputTokens: number, estimatedOutputNeed?: number): Promise; //# sourceMappingURL=token-estimator.d.ts.map