src/akari.ts: update interface