import { FileMetadata } from '../core/types'; export declare function isCached(fileMetadata: FileMetadata): Promise; export declare function getCachedDecryptedBlob(fileMetadata: FileMetadata): Promise; export declare function cacheDecryptedBlob(fileMetadata: FileMetadata, decryptedBlob: Blob): Promise; export declare function clearMediaCache(): Promise; export declare function getMediaCacheStats(): Promise<{ count: number; size: number; }>; /** * Returns approximate bytes used by the current user's message cache payload. * This reflects serialized cache size (UTF-8 JSON bytes) for dm-cache:. */ export declare function getMessageCacheSize(pubkey: string): Promise;