When exporting an Animation and selecting the type PNG/APNG Images (*.png), whatever the name of the file (eg. example.apng) is it will always be ended with .png - it should default to and allows .apng (LTS on Windows 11).
Also, the animated image does not loop, it is only animated once.