pub fn export_session( manager: &SessionManager, target: &Path, system: Option<&SystemContext>, ) -> Result<()>