import '../../../../../globals.js';
import { WGSLExpression, WGSLExpressionBool } from '../../../imports.js';
/**
 * Maps a linear Display-P3 color to a color that is within the Display-P3 gamut, using oklab for measuring perceptual distance.
 *
 * Relative colorimetric mapping. We could add more of a perceptual intent, but this is a good start.
 *
 * NOTE: If changing this, also likely should change gamut_map_linear_sRGB
 *
 * Modeled after https://drafts.csswg.org/css-color-4/#binsearch
 *
 * See RenderColor.gamutMapLinearDisplayP3 for more information.
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 */
declare const _default: (vec3: WGSLExpression) => WGSLExpressionBool;
export default _default;
//# sourceMappingURL=gamut_map_linear_displayP3WGSL.d.ts.map