import { AppContext } from '../../data/app-context'; import { SharedCache, SharedCacheOptions } from '../shared-cache'; import { ToolInventory, ToolInventoryData, ToolInventoryParams } from './tool-inventory'; /** * Tool Inventory cache class. */ export declare class ToolInventoryCache extends SharedCache { private appContext; private static uniqueId; private static uniqueVersion; /** * Initializes a new instance of the ToolInventoryCache class. * * @param appContext the app context. * @param options the option of shared cache. */ constructor(appContext: AppContext, options?: SharedCacheOptions); /** * Defines how to collect the tool inventory data. * * @param params the server inventory query params. * @return the Observable of ServerInventory data. */ private dataQuery; /** * Defines how to identify the cache entry by params. * * @param params the tool inventory query params. * @return the id string. */ private dataInstanceId; /** * Defines how to deserialize the class object from seralized data. * * @param serialized the serialized string; */ private dataDeserialize; /** * Defines how to serialize the class object to seralized data. * * @param instance the class instance. */ private dataSerialize; }