@bitpatty/imgproxy-url-builder
Version:
A TypeScript helper library for building imgproxy URLs
16 lines (15 loc) • 549 B
TypeScript
/**
* The brightness, an integer ranging from -255 to 255.
*/
type BrightnessOptions = number;
/**
* Adjusts the brightness of an image.
*
* See https://github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#brightness-idbrightness for the imgproxy documentation
*
* @param value An integer number ranging from -255 to 255.
* @returns The brightness param string
*/
declare const brightness: (value: BrightnessOptions) => string;
export default brightness;
export { BrightnessOptions };