If you were away for more than 2 years (Returning Resident visa)
You lose your indefinite leave to remain if you’ve been outside the UK, the Channel Islands and the Isle of Man for more than:
•5 continuous years, if you have settled status under the EU Settlement Scheme (unless you’re a Swiss citizen or their family member)
•4 continuous years, if you have settled status under the EU Settlement Scheme and you’re a Swiss citizen or their family member
•2 continuous years for anyone else
You may be able to re-enter the UK and get indefinite leave to remain by applying for a Returning Resident visa.
ILR is a status granted to an
individual and this is not attached to a passport.
Yes they will know as her ILR has lapsed and she could be refused entry. She should apply for a returning resident visa as her ILR is no longer valid. Also, note that entry via eGates for a non-visa national without a residence permit means a grant of a 'visit' visa and this could lead to immigration problems down the road.
See:
https://www.gov.uk/returning-resident-visa
Advice is given based on my personal research and experience only. Do NOT contact me via private message for immigration advice