/** Synchronous peek — lets a component render a cached avatar with no flash. */
export declare function peekAvatar(key: string): string | null;
/**
 * Resolve an avatar URL to a locally-served object URL, fetching + caching on
 * first sight and reusing the cached Blob forever after. Rejects if the bytes
 * can't be fetched (CORS-blocked, or 429 past retries) — callers should fall
 * back to a raw `<img>` in that case.
 */
export declare function loadAvatar(url: string): Promise<string>;
//# sourceMappingURL=cache.d.ts.map