import type { TokenCount, TokenCostEstimate } from '../../types/index.js';
/**
 * Estimate tokens for text using cl100k_base-compatible heuristic.
 * Precision >= 90% vs official tokenizers for typical code/prose.
 */
export declare function countTokens(text: string): TokenCount;
/**
 * Estimate cost in USD for a given token count and model.
 * Assumes all tokens are input tokens; caller can adjust.
 */
export declare function estimateCost(tokens: number, model: string): TokenCostEstimate;
/**
 * Get list of supported model names for cost estimation.
 */
export declare function getSupportedModels(): string[];
//# sourceMappingURL=counter.d.ts.map