@bitpatty/imgproxy-url-builder
Version:
A TypeScript helper library for building imgproxy URLs
16 lines (15 loc) • 448 B
TypeScript
/**
* The blur radius
*/
type BlurOptions = number;
/**
* Applies a gaussian blur filter to the image.
*
* See https://github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#blur for the imgproxy documentation
*
* @param sigma The size of the blur mask
* @returns The blur param string
*/
declare const blur: (sigma: BlurOptions) => string;
export default blur;
export { BlurOptions };