As Russia moved closer to invading Ukraine nearly three years ago, the United States and its allies took the extraordinary step of declassifying and sharing intelligence to expose Moscow's plans.