export declare type Vec2 = [number, number]; export declare type CurvesOptions = { red: Vec2[]; green?: Vec2[]; blue?: Vec2[]; }; /** * * @param image * @param canvas * @param options A list of points that define the function for each channel. * Each point is a list of two values: the value before the mapping * and the value after the mapping, both in the range 0 to 1. For * example, [[0,1], [1,0]] would invert the color channel while * [[0,0], [1,1]] would leave the color channel unchanged. If green * and blue are omitted then this argument also applies to the * green and blue channels. */ export declare function curves(image: HTMLImageElement | HTMLCanvasElement, canvas: HTMLCanvasElement, options: CurvesOptions): void; export default curves;