import { RAMResource } from '../../resource/ram/ram.ts'; import type { PathSpec } from '../../types.ts'; import { CacheEntry } from './entry.ts'; import { type FileCache } from './mixin.ts'; export declare class RAMFileCacheStore extends RAMResource implements FileCache { private readonly entries; private readonly lock; private readonly limit; private size; private maxDrainBytesValue; readonly drainTasks: Map>; constructor(options?: { limit?: string | number; maxDrainBytes?: number | null; }); get maxDrainBytes(): number | null; set maxDrainBytes(value: number | null); get cacheSize(): number; get cacheEntries(): number; get cacheLimit(): number; snapshotEntries(): { key: string; entry: CacheEntry; }[]; loadEntry(key: string, data: Uint8Array, entry: CacheEntry): void; 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; evictPrefix(prefix: string): Promise; evictPaths(paths: Iterable): void; remove(key: string): Promise; exists(key: string | PathSpec): Promise; isFresh(key: string, remoteFingerprint: string): Promise; clear(): Promise; multiGet(keys: readonly string[]): Promise<(Uint8Array | null)[]>; private evict; } //# sourceMappingURL=ram.d.ts.map