import Base from '../Base';
import type Client from '../Client';
import type { ImageData } from '../../resources/structs';
/**
 * Represents an image
 */
declare class Image extends Base {
    /**
     * The image's url
     */
    url: string;
    /**
     * The image's width
     */
    width?: number;
    /**
     * The image's height
     */
    height?: number;
    /**
     * The image's file extension (usually 'png' or 'jpeg' / 'jpg')
     */
    fileExtension: string;
    /**
     * @param client The main client
     * @param data The image's data
     */
    constructor(client: Client, data: ImageData);
    /**
     * Downloads the image
     * @throws {Error}
     */
    download(): Promise<Buffer>;
    toString(): string;
}
export default Image;
