pub fn edit_replace_block( path: &Path, old_text: &str, new_text: &str, ) -> Result<EditReplaceOutput, EditError>