import { type StorageAdapter } from "https://deno.land/x/grammy@v1.30.1/convenience/session.ts";
A storage adapter is an abstraction that provides read, write, and delete access to a storage solution of any kind. Storage adapters are used to keep session middleware independent of your database provider, and they allow you to pass your own storage solution.