import { Media } from './Media'; import { ImageUrlBuilder } from './ImageUrlBuilder'; import { CommonContentClientConfig } from '../config/CommonContentClientConfig'; /** * Class representing an Image resource with helper functions. * Image URL helper functions will take into consideration staging and custom hostname overrides. */ export declare class Image extends Media { /** * Creates a new Image instance. * @param data JSON data from delivery API * @param config Client configuration */ constructor(data: any, config: CommonContentClientConfig); /** * Returns a builder which can be used to construct a URL to this image resource. * You can apply transformations such as resize and image format using the returned builder. * * ```typescript * image.thumbnail().width(500).build(); * ``` */ url(): ImageUrlBuilder; /** * Export Image to JSON */ toJSON(): any; /** * @hidden * Returns true if the provided fragment is an image * @param fragment */ static isImage(fragment: any): boolean; }