pub trait CompressionEngine {
// Required methods
fn compress(
&self,
context: &str,
threshold: usize,
agent_pid: u32,
) -> Result<CompressedContext, CompressError>;
fn get_stats(&self) -> CompressionStats;
fn invalidate_cache(&self);
}