import type { ResizeOptions, Sharp } from 'sharp'; export declare const TransformationMethods: readonly ["toFormat", "jpeg", "png", "tiff", "webp", "avif", "resize", "extend", "extract", "trim", "rotate", "flip", "flop", "sharpen", "median", "blur", "flatten", "gamma", "negate", "normalise", "normalize", "clahe", "convolve", "threshold", "linear", "recomb", "modulate", "tint", "greyscale", "grayscale", "toColorspace", "toColourspace", "removeAlpha", "ensureAlpha", "extractChannel", "bandbool"]; type AllowedSharpMethods = Pick; export type TransformationMap = { [M in keyof AllowedSharpMethods]: readonly [M, ...Parameters]; }; export type Transformation = TransformationMap[keyof TransformationMap]; export type TransformationResize = Pick; export type TransformationParams = { key?: string; transforms?: Transformation[]; format?: 'auto' | 'jpg' | 'jpeg' | 'png' | 'webp' | 'tiff' | 'avif'; quality?: number; } & TransformationResize; export {};