import { IImgInfo } from "picgo";
import { HttpsProxyAgent, HttpProxyAgent } from "hpagent";
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;
