///
import { IImgInfo } from 'picgo/dist/src/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 execFileSyncfunc(command: string, args: string[]): string | boolean;
export declare function execFilefunc(command: string, args: string[]): Promise;
export declare function checkRemoteExistSync(remoteName: string): boolean;
export declare function checkRemoteExist(remoteName: string, remoteBucketName: string): Promise;
/**
* 备份图片到本地
* @param {ctx} ctx
* @param {图片备份文件夹} imagePath
* @param {ctx.output数组成员对象} imgObject
*/
export declare function backupInLocal(ctx: any, imagePath: any, imgObject: any): Promise;
export declare function backupInLocalSync(ctx: any, imagePath: any, imgObject: any): string;