import { IntegrationCache, IntegrationCacheEntry, IterableCache } from './types'; /** * Creates a cache that tracks all entry keys to allow for iterating the * entries. Use `forEach` to iterate and avoid keeping all data in memory. * * Maintains an entry that contains all the keys, allowing for the actual cache * backend to remain relatively simple. This approach could be contrasted to * using a mechanism provided by the cache itself to iterate/paginate the * keys/entries (i.e. S3 list keys with pagination, DynamoDB paginate the * records). * * @param cache the resource-scoped backing cache */ export default function createIterableCache(cache: IntegrationCache): IterableCache;