/**
 * Context Compressor Engine
 *
 * Implements attention-weighted background context compaction.
 * Analyzes large text payloads and compresses them by retaining only
 * high-attention lines (code structures, keywords, core logic) while
 * stripping boilerplate, empty lines, and low-information content.
 */
export interface CompressionOptions {
    targetRatio?: number;
    maxTokens?: number;
}
export interface CompressionStats {
    originalTokens: number;
    compressedTokens: number;
    ratio: number;
}
export declare class ContextCompressor {
    constructor();
    /**
     * Compresses text using an attention-weighted line-selection algorithm.
     */
    compress(text: string, options?: CompressionOptions): {
        compressedText: string;
        stats: CompressionStats;
    };
    /**
     * Scores a line based on structural features and keyword density.
     */
    private scoreLineAttention;
}
