///
import { Cache, MemoryCache } from '@chasidic/cache';
import { Options } from 'xmldom';
export declare class Scraper {
private _cache;
private _sleep;
private _retries;
constructor({ cache, sleep, retries }?: {
cache?: string | Cache | MemoryCache;
sleep?: number;
retries?: number;
});
fetch(uri: string): Promise;
load(uri: string): Promise;
loadDOM(uri: string, options?: Options): Promise;
loadCheerio(uri: string): Promise;
tree(uri: string, indent?: number): Promise;
}