/// <reference types="node" />
import { HttpsProxyAgent, HttpProxyAgent } from 'hpagent';
import { IImgInfo } from '../../../types';
export declare function formatPath(info: IImgInfo, format?: string): string;
export declare function extractInfo(info: IImgInfo): Promise<{
    body?: Buffer;
    contentType?: string;
    contentEncoding?: string;
}>;
export declare function getProxyAgent(proxy: string | undefined, sslEnabled: boolean, rejectUnauthorized: boolean): HttpProxyAgent | HttpsProxyAgent | undefined;
