import { CacheItemState } from './cache-item-state.model'; import { Contact } from './contact.model'; type FreshValueUpdater = (key: string) => Promise; export interface ContactCache { get: (key: string, getFreshValue?: FreshValueUpdater) => Promise; set: (key: string, value: Contact[]) => Promise; delete: (key: string) => Promise; } export {};