/** A map is an abstract data-type. See the wikipedia for more info: https://en.wikipedia.org/wiki/Associative_array * FAQ: * Why are the methods for map async? * The methods are async so we can store the map in redis or a similar cache if we want to * which will then make the URL-frontier more easily distributable across machines. */ export declare class AsyncMap { #private; /** This method allows one to put into the map. */ put(key: T, value: U): Promise; /** This method allows one to take from the map. */ take(item: T): Promise; has(item: T): Promise; /** This method creates a queue from an Iterable. * It is async because the items take time to enqueue **/ static from(items: Iterable<[T, U]>): Promise>; } //# sourceMappingURL=AsyncMap.d.ts.map