@bitpatty/imgproxy-url-builder
Version:
A TypeScript helper library for building imgproxy URLs
24 lines (23 loc) • 556 B
TypeScript
/**
* The GIF options
*/
type GifOptions = {
/**
* If true, enables GIF frames optimization.
*/
optimizeFrames?: boolean;
/**
* If true, enables GIF transparency optimization.
*/
optimizeTransparency?: boolean;
};
/**
* Allows redefining GIF saving options.
*
* @deprecated Automatically applied since version 3.0.0
* @param options The gif options
* @returns The gif option param string
*/
declare const gifOptions: (options: GifOptions) => string;
export default gifOptions;
export { GifOptions };