///
import { CancellationToken, DownloadOptions, HttpExecutor } from "electron-builder-http";
import { ClientRequest, RequestOptions } from "http";
export declare class NodeHttpExecutor extends HttpExecutor {
private httpsAgentPromise;
download(url: string, destination: string, options?: DownloadOptions): Promise;
doApiRequest(options: RequestOptions, cancellationToken: CancellationToken, requestProcessor: (request: ClientRequest, reject: (error: Error) => void) => void, redirectCount?: number): Promise;
protected doRequest(options: any, callback: (response: any) => void): any;
}
export declare const httpExecutor: NodeHttpExecutor;