/** * Factory for creating cache instances */ import { CacheProvider } from './cache-provider'; import { MultiLayerCache } from './multi-layer-cache'; export interface CacheFactoryOptions { local?: { enabled?: boolean; directory?: string; }; s3?: { enabled?: boolean; bucket?: string; prefix?: string; }; invalidateCache?: boolean; } export declare class CacheFactory { /** * Create a multi-layer cache with default configuration */ static createDefault(options?: { invalidateCache?: boolean; }): MultiLayerCache; /** * Create a cache from configuration options */ static create(options: CacheFactoryOptions): MultiLayerCache; /** * Create a cache from an array of cache providers */ static fromProviders(providers: CacheProvider[], invalidateCache?: boolean): MultiLayerCache; } //# sourceMappingURL=cache-factory.d.ts.map