import { type StorageAdapter } from "https://dotland.deno.dev/x/grammy@v1.14.0/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.