import { type StorageAdapter } from 'oc-storage-adapters-utils'; import type { ComponentsList, Config } from '../../../types'; import type { MetadataIndex } from '../metadata-index'; export default function componentsCache(conf: Config, cdn: StorageAdapter, metadataIndex?: MetadataIndex): { get(): ComponentsList; load(): Promise; refresh(): Promise; close(): void; };