pub mod file;
#[derive(Debug, Clone)]
pub struct HistoryEntry {
pub command: String,
pub timestamp: Option<i64>,
pub frequency: u32,
}
pub trait ShellHistory: Send + Sync {
fn load(&mut self) -> Result<(), Box<dyn std::error::Error + Send + Sync>>;
fn search_prefix(&self, prefix: &str, limit: usize) -> Vec<HistoryEntry>;
}