/// <reference types="node" />
import { ExifToolTask } from "./ExifToolTask";
/**
 * Task that returns an error string (to prevent retries), or undefined if
 * everything seems to have worked.
 */
export declare class BinaryToBufferTask extends ExifToolTask<Buffer | Error> {
    readonly tagname: string;
    private constructor();
    static for(tagname: string, imgSrc: string): BinaryToBufferTask;
    parse(data: string, err?: Error): Buffer | Error;
}
