import { type ImageCacheHandler } from '../data.js'; /** * In memory cache * THis is not production ready, there is no cleanup, no expiration, no eviction * This is only for development purposes */ export declare class MemoryCache implements ImageCacheHandler { useRedirects: boolean; private cache; private timeouts; private ttls; private maxTTL; constructor(maxTTL?: number); getKey(hash: string): Promise<{ value: Buffer | null; ttl?: number; }>; setKey(hash: string, value: NodeJS.ReadableStream | Buffer, ttl?: number, contentType?: string): Promise; delKey(hash: string): Promise; getPublicUrl(hash: string): Promise<{ url: string | null; ttl?: number; }>; } export default function createMemoryCache(options?: { maxTTL?: number; }): ImageCacheHandler;