import { Buffer } from "node:buffer";
import { BufferInput } from "../../input";
/**
 * Generic class for image extraction
 */
export declare class ExtractedImage {
    buffer: Buffer;
    protected internalFileName: string;
    protected constructor(buffer: Uint8Array, fileName: string);
    /**
     * Saves the document to a file.
     *
     * @param outputPath Path to save the file to.
     */
    saveToFile(outputPath: string): void;
    /**
     * Return the file as a Mindee-compatible BufferInput source.
     *
     * @returns A BufferInput source.
     */
    asSource(): BufferInput;
}
