import IUrlFetcher from './IUrlFetcher'; export declare const REQUEST_CACHE_DIR = "/tmp/dockter-request-cache"; /** * The default URL fetcher that Dockter uses. Fetches using `got` and caches results using `persist` */ export default class CachingUrlFetcher implements IUrlFetcher { /** * Fetch a URL using `got`, attempting to retrieve it from cache first. */ fetchUrl(url: string, options?: any): Promise; /** * Try to get a result from the `persist` cache. This method with initialise the `persist` cache if it has not been * set up. */ static getFromCache(url: string): Promise; /** * Set a value (URL response body, usually) to the `persist` cache. */ static setToCache(url: string, value: any): Promise; }