interface ObjectCache { get(key: string): T; put(key: string, value: T): any; getOrThunk(key: string, f: () => T): any; } declare const createObjectCache: () => ObjectCache; export { ObjectCache, createObjectCache };