import { Readable } from "stream";
import { ImageResponse } from "../providers/Provider.js";
export declare class GeneratedImage extends String {
    private readonly response;
    constructor(response: ImageResponse);
    get url(): string | undefined;
    get data(): string | undefined;
    get revisedPrompt(): string | undefined;
    get mimeType(): string | undefined;
    get isBase64(): boolean;
    /**
     * Returns the raw binary image data as a Buffer.
     */
    toBuffer(): Promise<Buffer>;
    /**
     * Returns a Readable stream of the image data.
     */
    toStream(): Promise<Readable>;
    /**
     * Saves the image to the specified local path.
     */
    save(path: string): Promise<string>;
    toString(): string;
}
//# sourceMappingURL=GeneratedImage.d.ts.map