pub fn preview_edit( host: &HostContext, repository: &Path, profiles: &[String], tool: Tool, ) -> Result<Preview>
Edit an existing declaration without changing its ID.