UNPKG

picgo-plugin-s3-own

Version:

picgo amazon s3 uploader for Own use

10 lines (9 loc) 474 B
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;