//#region src/is-css-rgba-string/index.d.ts /** * Check if a value is a valid CSS rgba/rgb string. * * @param value - The value to check. * @returns true if the value is a valid CSS rgba string, false otherwise. * * @remarks * pure function * * Supports both legacy and modern CSS Color Module Level 4 syntax: * - Legacy: "rgb(255, 128, 64)", "rgba(255, 128, 64, 0.5)" * - Modern: "rgb(255 128 64)", "rgb(255 128 64 / 0.5)" * * @example * ```ts * import { isCssRgbaString } from '@accelint/predicates/is-css-rgba-string'; * * console.log(isCssRgbaString('rgba(255, 128, 64, 0.5)')); * // true * * console.log(isCssRgbaString('rgb(255 128 64 / 50%)')); * // true * * console.log(isCssRgbaString('#FF8040')); * // false * ``` */ declare function isCssRgbaString(value: unknown): value is string; //#endregion export { isCssRgbaString }; //# sourceMappingURL=index.d.ts.map