import type { Message } from '../types/message/index.js'; /** * Provider-neutral prompt estimate shared by triggers, retention and eviction. * * Text and tool inputs use the existing characters-per-token approximation. * Images and documents have an explicit allowance independent of compression * and of whether the bytes are inline or stored externally. Without dimensions, * page counts and a provider tokenizer their exact cost is unknown. In * particular, serialized base64 is never treated as model-visible prose. */ export declare function estimateMessageTokens(message: Message): number; export declare function estimateMessagesTokens(messages: readonly Message[]): number; //# sourceMappingURL=token-estimate.d.ts.map