So if it's sitting on a shelf there was probably no fuel in the carbs, so they might need a quick cleaning, but there should be no stale fuel worries. Assuming the engine was put on the shelf with fresh, or fresh-ish, oil I wouldn't expect any issues with bearings, or cylinder walls, or rings as long as it was dry. In a damp basement, maybe.
I once stored a Ducati 2V aircooled engine on a shelf for 3 1/2 years after it had been broken in on the dyno. When I finally finished the frame I drained the oil, gave the carbs a hosing down with some carb cleaner, squirted a tiny bit of oil in the sparkplug holes, and turned the engine over by hand a few times. She fired right up! I ran it in for a few minutes and then drained the oil again (I don't know why I did that again, but I did). I sold it 5,000 miles later and it still ran like a top.