/** * Interface for constructing a request to create an optimized image url from a file on SharePoint. * * @public */ export interface IImageHelperRequest { /** * The url to the item to be retrieved as an image. This can be an absolute url or a relative url. */ sourceUrl: string; /** * Width of the image requested. * * @remarks * When the height is unspecified, the width is mapped to nearest larger resolution breakpoint with a maximum size. */ width: number; /** * Optional height of the image requested * * @remarks * By default, the image height would be based on the width while maintaining the aspect ratio for the image. (This provides the image with the quickest response.) * When the height is specified, the width is not adjusted to the nearest larger resolution breakpoint. */ height?: number; /** * guid generated for image to use as param to avoid caching from api on adv edited images */ cacheBuster?: string; } export default IImageHelperRequest; //# sourceMappingURL=IImageHelperRequest.d.ts.map