use color_eyre::eyre::Result;
use std::path::PathBuf;
pub async fn execute_bridge(out_dir: &PathBuf) -> Result<()> {
println!("🌉 Generating Type Bridge to {}...", out_dir.display());
let mut bridge = nargo_bridge::NargoBridge::new();
bridge.generate(&out_dir.join("index.ts")).map_err(|e| color_eyre::eyre::eyre!(e))?;
println!("✅ Type Bridge generated successfully!");
Ok(())
}