/**
 * @packageDocumentation
 * @module utils
 */
import type { RGBA } from './color.cjs';
/**
 * Convert a linear-light sRGB component (0..1) to a gamma-encoded sRGB component (0..1)
 * @param linear - linear-light 0..1
 */
export declare function linear2srgb(linear: number): number;
/**
 * Convert a gamma-encoded sRGB component (0..1) to a linear-light sRGB component (0..1)
 * @param srgb - gamma-encoded 0..1
 */
export declare function srgb2linear(srgb: number): number;
/**
 * Interpolate between `from` and `to` by `t`, in linear sRGB space.
 *
 * The other transforms — `lighten`, `darken`, `saturate`, `desaturate`, `alpha`,
 * `clearer`, `opaquer`, `negate`, `greyscale`, `mix`, and `clone` — are only
 * available as methods on `Color`.
 * @param from from color
 * @param to to color
 * @param t 0..1
 * @returns interpolated
 */
export declare function interpolate(from: RGBA, to: RGBA, t: number): RGBA;
