/** LLM token counting via tiktoken-rs in the Rust core. */ export declare function countTokens(text: string): number; export declare function countTokensBatch(texts: string[]): number[]; export declare function countJsonTokens(value: unknown): number; export declare function configureTokenizerDefaults(options?: { encoding?: string; allowedSpecial?: "all" | "none"; }): void; //# sourceMappingURL=tokens.d.ts.map