import type { Prim, Term } from "@thi.ng/shader-ast"; /** * Inline function. Converts sRGB color term (1D-4D) to linear space via * `pow(rgb, GAMMA)`, where gamma is hardcoded to 2.2. For vec4 args, * the `w` component (alpha) remains unchanged. * * @param x - */ export declare const toLinear: (x: Term) => import("@thi.ng/shader-ast").FnCall; /** * Inline function. Converts linear color term (1D-4D) to sRGB via * `pow(rgb, 1.0 / GAMMA)`, where gamma is hardcoded to 2.2. For vec4 * args, the `w` component (alpha) remains unchanged. * * @param x - */ export declare const toSRGB: (x: Term) => import("@thi.ng/shader-ast").FnCall; //# sourceMappingURL=linear-srgb.d.ts.map