adapter.d.ts