import { Cache, Store, MemoryConfig, FactoryStore, FactoryConfig, MultiCache } from './base'; export type SingleCacheOptions = { store: 'memory'; options?: MemoryConfig; } | { store: S | (() => S | Promise); } | { store: FactoryStore; options?: FactoryConfig>[0]>; }; export type CacheManagerOptions = SingleCacheOptions | { store: Array | (() => Cache | Promise)>; }; export type MidwayCache = Cache; export type MidwayMultiCache = MultiCache; export type MidwayUnionCache = MidwayCache | MidwayMultiCache; //# sourceMappingURL=interface.d.ts.map