UNPKG

@bitpatty/imgproxy-url-builder

Version:

A TypeScript helper library for building imgproxy URLs

16 lines (15 loc) 518 B
/** * The watermark URL */ type WatermarkUrlOptions = string; /** * Use the image from the specified URL as a watermark. * * See https://github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#watermark-url-idwatermark-url for the imgproxy documentation * * @param url The watermark URL * @returns The watermark URL param string */ declare const watermarkUrl: (url: WatermarkUrlOptions) => string; export default watermarkUrl; export { WatermarkUrlOptions };