/**
 * Token compressor for reducing token usage
 * Implements various compression techniques
 */
export declare class TokenCompressor {
    /**
     * Compress conversation history by removing redundant information
     * and summarizing older exchanges
     */
    compressConversation(messages: Array<{
        role: string;
        content: string;
    }>): Array<{
        role: string;
        content: string;
    }>;
    /**
     * Summarize multiple messages into a concise representation
     */
    private summarizeMessages;
    /**
     * Compress code by extracting only relevant parts
     * For example, when editing a file, only send the relevant function/class
     */
    compressCode(content: string, contextHint?: string): {
        compressed: string;
        savedTokens: number;
    };
    /**
     * Estimate token count for text
     * Rough approximation: 4 characters per token for English text
     */
    estimateTokens(text: string): number;
}
//# sourceMappingURL=compressor.d.ts.map