export = ChunkCache;
/**
 * An LRU cache used to store chunks.
 *
 * !! This cache is not fully implemented and not used at this time !!
 *
 * @param capacity the cache size in terms of the number of chunks.
 * @constructor
 */
declare function ChunkCache(capacity: any): void;
declare class ChunkCache {
    /**
     * An LRU cache used to store chunks.
     *
     * !! This cache is not fully implemented and not used at this time !!
     *
     * @param capacity the cache size in terms of the number of chunks.
     * @constructor
     */
    constructor(capacity: any);
    _capacity: any;
    _map: {};
    _list: DoublyLinkedList;
    /**
     * Adds a chunk to the cache.
     *
     * @param chunk
     */
    put(chunk: any): void;
}
import DoublyLinkedList = require("./doubly_linked_list");
