import type { FileCache } from '@struktoai/mirage-core/cache/file/mixin'; import type { PathSpec } from '@struktoai/mirage-core/types'; import type { RedisClientType } from 'redis'; import { RedisResource, type RedisResourceOptions } from '../../resource/redis/redis.ts'; export interface RedisFileCacheOptions extends RedisResourceOptions { cacheLimit?: string | number; maxDrainBytes?: number | null; } export declare class RedisFileCacheStore extends RedisResource implements FileCache { private readonly limit; private readonly dataPrefix; private readonly metaPrefix; private maxDrainBytesValue; readonly drainTasks: Map>; constructor(options?: RedisFileCacheOptions); get maxDrainBytes(): number | null; set maxDrainBytes(value: number | null); readonly cacheSize: number | null; readonly cacheEntries: number | null; get cacheLimit(): number; cacheClient(): Promise; private dataKey; private metaKey; get(key: string): Promise; set(key: string, data: Uint8Array, options?: { fingerprint?: string | null; ttl?: number | null; }): Promise; add(key: string, data: Uint8Array, options?: { fingerprint?: string | null; ttl?: number | null; }): Promise; remove(key: string): Promise; exists(key: string | PathSpec): Promise; isFresh(key: string, remoteFingerprint: string): Promise; evictPrefix(prefix: string): Promise; evictPaths(_paths: Iterable): void; clear(): Promise; multiGet(keys: readonly string[]): Promise<(Uint8Array | null)[]>; } //# sourceMappingURL=redis.d.ts.map