In these sentences, "technically" means "according to the exact definition, rules, or details." Here's the breakdown:
1. "Technically, the country's economic problems are over, but recovery will be slow."
* Here, "technically" means according to official or specific criteria or definitions (e.g., economic data or metrics), the economic problems have ended.
* However, in a broader or practical sense, recovery is still a work in progress.
So, it implies that by certain measures or standards, the economic problems are resolved, but reality might not feel that way yet.