import type { CacheOptions, NativeCacheModule } from './types'; /** * Native disk cache wrapper * Provides type-safe interface to native cache module */ export declare class NativeDiskCache { private nativeModule; constructor(nativeModule?: NativeCacheModule, _options?: CacheOptions); /** * Get value from native cache * @param key - Cache key * @returns Cached value or null */ get(key: string): Promise; /** * Set value in native cache * @param key - Cache key * @param data - Data to cache * @param ttl - Time-to-live in milliseconds */ set(key: string, data: T, ttl?: number): Promise; /** * Remove value from native cache * @param key - Cache key */ remove(key: string): Promise; /** * Clear all cache entries */ clear(): Promise; /** * Get cache size in bytes * @returns Size in bytes */ getSize(): Promise; /** * Clear only memory cache (native layer) * @returns true if successful */ clearMemoryCache(): Promise; /** * Clear only disk cache (native layer) * @returns true if successful */ clearDiskCache(): Promise; } //# sourceMappingURL=native.d.ts.map