import { Matrix3d } from "./matrix3d.ts"; /** * A 4x4 color transformation matrix extending {@link Matrix3d}. * Provides chainable methods for common color adjustments. * @category Math * @example * // grayscale * const cm = new ColorMatrix().saturate(0.0); * @example * // combine brightness + contrast * const cm = new ColorMatrix().brightness(1.3).contrast(1.5); */ export declare class ColorMatrix extends Matrix3d { /** * Apply a brightness adjustment. * @param amount - brightness multiplier (1.0 = normal, >1 brighter, <1 darker) * @returns this instance for chaining */ brightness(amount: number): this; /** * Apply a contrast adjustment. * @param amount - contrast multiplier (1.0 = normal, >1 more contrast, <1 less) * @returns this instance for chaining */ contrast(amount: number): this; /** * Apply a saturation adjustment. * @param amount - saturation level (0.0 = grayscale, 1.0 = normal, >1 over-saturated) * @returns this instance for chaining */ saturate(amount: number): this; /** * Apply a hue rotation. * @param angle - rotation angle in radians * @returns this instance for chaining */ hueRotate(angle: number): this; /** * Apply a sepia tone. * @param amount - sepia intensity (0.0 = original, 1.0 = full sepia) * @returns this instance for chaining */ sepia(amount?: number): this; /** * Apply a color inversion. * @param amount - inversion amount (0.0 = original, 1.0 = fully inverted) * @returns this instance for chaining */ invertColors(amount?: number): this; } //# sourceMappingURL=color_matrix.d.ts.map