I think that many devs missed the fact that Anki went through major rewrite and all of its business logic/its brain/api are now contained in few rust crates.
They're a pleasure to work with and it's very easy to write alternative frontends (just finished one).
You don't have to import anything because you can just use the same db, and cards as Anki.