UNPKG

@bitpatty/imgproxy-url-builder

Version:

A TypeScript helper library for building imgproxy URLs

16 lines (15 loc) 546 B
/** * The watermark text */ type WatermarkTextOptions = string; /** * Generate an image from the provided text and use it as a watermark. * * See https://github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#watermark-text-idwatermark-text for the imgproxy documentation * * @param text The watermark text * @returns The watermark text param string */ declare const watermarkText: (text: WatermarkTextOptions) => string; export default watermarkText; export { WatermarkTextOptions };