/** * Token budget utilities — advisory only. * * Provides token estimates so the LLM can decide whether to read * full text or request specific sections incrementally. * No hard truncation — the LLM manages its own context window. */ /** Rough token estimate: ~4 characters per token for English text. */ export declare function estimateTokens(text: string): number; /** Estimate tokens for each section and compute totals. */ export declare function estimateSectionTokens(sections: Record): { perSection: Record; total: number; }; /** * Build an advisory note about token usage relative to budget. * Returns null if content is within budget. */ export declare function tokenBudgetAdvisory(estimatedTokens: number, maxTokens: number): string | null; //# sourceMappingURL=token-budget.d.ts.map