import { FetchMiddleware } from '../http/fetcher.js';
import Client from '../client.js';
/**
 * This middleware manages the cache based on information in requests
 * and responses.
 *
 * It expires items from the cache and updates the cache if `Content-Location`
 * appeared in the response.
 *
 * It's also responsible for emitting 'stale' events.
 */
export default function (client: Client): FetchMiddleware;
