Puzzle of the Week #460 - Neighbours

Joshua and Leoni have been next-door neighbours for the past 34 years

In 1990, Joshua’s age was the sum of the digits of Leoni’s age.

In 2024, Joshua’s age is the sum of the SQUARES of the digits of Leoni’s age.

How old were they and are they?