pub fn decode_string<'a>( text: impl AsRef<str>, resolve_variable: impl Fn(&str) -> Option<&'a str>, ) -> Result<String, DecodeStringError>