/**
 * Default token budget for the markdown provider (planu/context.md).
 * Read from `planu.json#contextMd.maxTokens` if present at runtime; this is the fallback.
 */
export declare const MARKDOWN_MAX_TOKENS = 800;
/** Marker appended to truncated markdown output. */
export declare const MARKDOWN_TRUNCATE_MARKER = "\u2026[truncated]";
/**
 * Tokens per character heuristic. 0.25 = 4 chars/token, the standard rough estimate
 * shared by OpenAI tiktoken (cl100k) and Anthropic for English markdown.
 */
export declare const TOKENS_PER_CHAR = 0.25;
/**
 * Estimate the token count of a string.
 *
 * Uses `length * TOKENS_PER_CHAR` and rounds up. Fast, deterministic, dependency-free.
 * For accurate counting, callers should re-estimate via the provider's own tokenizer.
 */
export declare function estimateTokens(text: string): number;
//# sourceMappingURL=token-estimator.d.ts.map