Cache: {
enabled: boolean;
items: Record<
string,
{ files: Record<string, HTMLImageElement | Blob>; lastAccess: number },
>;
maxItems: number;
purgeInterval: Timeout;
ttl: number;
add(url: string, key: string, data: HTMLImageElement | Blob): void;
get(url: string, key: string): HTMLImageElement | Blob;
init(): void;
purge(): void;
remove(url: string, key: string): void;
} = ...