I have zero sympathy for any country lamenting "population decline." Population decline is not a real thing.
"Replacement rate" is not a real thing either.
Every country on earth with a shrinking population, could solve all of their population shaping problems with immigration.
There is no shortage of people that want to be citizens of your country. There's only racism and xenophobia.