export interface RequestPayload { useBrowser?: boolean; useNodeFetch?: boolean; autoDetectMode?: boolean; debug?: boolean; [key: string]: any; } export interface IFetcher { fetchHtml(url: string, options?: any): Promise; fetchJson(url: string, options?: any): Promise; fetchText(url: string, options?: any): Promise; }