import type { SetOptions } from 'redis' export const cache = { get: async (key: string): Promise => { key throw new Error( 'cache.get() is a native function implemented by the platform runtime', ) }, set: async ( key: string, value: T, options?: SetOptions, ): Promise => { key value options throw new Error( 'cache.set() is a native function implemented by the platform runtime', ) }, }