export * from 'bentocache/types'; import type { BentoCache, bentostore } from 'bentocache'; import type { RawBentoCacheOptions } from 'bentocache/types'; import type { store } from './store.ts'; /** * The options accepted by the cache module */ export type CacheOptions = Omit; /** * Infer the stores from the user config */ export type InferStores>; }> = { [K in keyof T['stores']]: any; }; /** * A list of known caches stores inferred from the user config * This interface must be extended in user-land */ export interface CacheStores { } /** * The cache service interface registered with the container */ export interface CacheService extends BentoCache> ? CacheStores : never> { }