export declare function useMediaCache(): { getCached: (cacheKey: string) => Promise; setCache: (cacheKey: string, base64: string) => Promise; removeFromCache: (cacheKey: string) => Promise; fetchWithCache: (cacheKey: string, fetchFn: () => Promise) => Promise; fetchUrlAsBase64: (url: string) => Promise; fetchUrlWithMetadata: (url: string) => Promise<{ base64: string; mimeType: string | null; }>; getOrFetchBase64: (vaultReference: string, resolvedUrl: string) => Promise; base64ToDataUrl: (base64: string, mimeType: string) => string; };