/// import { Response } from 'superagent'; import { Provider, ProviderError } from './providers'; export declare function formatMagnet(infoHash: string, name: string, trackers: string[]): string; export declare function loadPage(url: string): Promise; export declare function loadJson(url: string): Promise; export declare function crawlPage(url: string): Promise<{ $: cheerio.Root; }>; export declare function parseErrorMessage(error: unknown): string; export declare function executeProviders(providers: Provider[], callback: (provider: Provider) => T | Promise): Promise<{ items: T[]; errors: ProviderError[]; }>;