import type { ContextTree } from './context-tree.js'; export declare function estimateTokens(text: string): number; /** * Serialize a ContextTree into a structured text format for LLM consumption. * Respects a token budget — truncates leaves if the output would be too large. */ export declare function serializeContextTree(tree: ContextTree): string; //# sourceMappingURL=context-tree-serializer.d.ts.map