import type IImageHelperRequest from './IImageHelperRequest'; /** * ImageHelper exposes the ability to convert a SharePoint url to an optimized thumbnail url. * @public */ export declare class ImageHelper { /** * Convert a url to a file or page on SharePoint into an optimized image url. * * @param request - IImageHelperRequest for the bundled parameters. * * @remarks * - If width and height are provided, then the resulting image will be scaled to the minimum of the width or height. * - The url will be most performant if only a width is provided. If a height is provided, the image will take longer to download due to the scaling. * - Only use this url at rendering time. It may contain an expiration token. Continue to use the original file's url for serialization. * * @returns A full url string for the image of the file. If no optimized url can be created (i.e. an external url or an unsupported file type), * the original sourceUrl is returned. * * @public */ static convertToImageUrl(request: IImageHelperRequest): string; } //# sourceMappingURL=ImageHelper.d.ts.map