export declare class DownloaderState { activeDownloads: (DownloadProgress | null)[]; shouldStop: boolean; finishedScanning: boolean; currentSource: string | null; /** * Set the "shouldStop" flag on this state and all its relevant children. * Once set, all processing should respond and finish gracefully. * * This should only be called due to user intervention, in the case that they with to terminate an active run. */ stop(): void; } export declare class DownloadProgress { /** * User-friendly description of whatever is happening right now. */ status: string; /** * The name of the current Handler trying to download. */ handler: string; knowsPercent: boolean; /** * Set internally as a signal to any supported running downloaders, that they should terminate. */ shouldStop: boolean; /** * A float, representing the percentage complete this download is. */ percent: number; }