You're missing a declare statement before the class Client_Libsql extends Knex.Client {} declaration in index.d.ts declaration file.
It's causing errors in my application when tsc attempts to transpile it.
I'm not going to set tsconfig.json skipLibCheck to true, which I've seen others suggest, since I need my declaration files to be validated during build and that option disables checking of those files.
Thank you,
Scott