Your income from UK bank interest is taxable in the UK. To declare that you were not tax resident for 2022 to 2023, requires the completions of a Self Assessment Tax Return for 2022 to 2023 (SA100) and SA109 (residence). Have you checked whether split year treatment applies? Have a look at the guidance at:
RDR3: Statutory Residence Test (SRT) notes: 6. Split years
If you are not tax resident for the whole tax year and split year treatment does not apply, then the overseas rental income, dividends and bank interest would not be taxable in the UK. unless you bring this income into the UK, when it will become taxable in the tax year you bring it to the UK. In the current tax year, you will be treated as resident for tax purposes for the whole tax year on your world wide income. This means that your overseas property income, dividends and interest, will need to be declared on a tax return each year going forward.
Tax on savings and investments: detailed information