import { type IContent } from '../../services/history/IContent.js';
import { ConversationCache } from './ConversationCache.js';
export declare const MODEL_CONTEXT_SIZE: Record<string, number>;
/**
 * Estimates the total tokens used including remote stored context
 * @param model The model being used
 * @param cache The conversation cache instance
 * @param conversationId The conversation ID
 * @param parentId The parent message ID
 * @param promptTokens The tokens in the current prompt
 * @returns Object with token usage information
 */
export declare function estimateRemoteTokens(model: string, cache: ConversationCache, conversationId: string | undefined, parentId: string | undefined, promptTokens: number): {
    totalTokens: number;
    remoteTokens: number;
    promptTokens: number;
    maxTokens: number;
    contextUsedPercent: number;
    tokensRemaining: number;
};
/**
 * Estimates tokens for a message array (rough approximation)
 * @param messages Array of messages
 * @returns Estimated token count
 */
export declare function estimateMessagesTokens(messages: IContent[]): number;
