import type { TSLFloatNode, TSLFunction, TSLUintNode, TSLVec4Node } from '../types/tsl.cjs'; /** Packed color node accepted by {@link unpackRGBA8}. */ export type UnpackRGBA8Input = TSLUintNode | TSLFloatNode; /** Arguments accepted by {@link unpackRGBA8}. */ export type UnpackRGBA8Arguments = [packed: UnpackRGBA8Input]; /** * Unpack a `0xRRGGBBAA` word into normalized linear components. * * A uint node is consumed directly. A float node is treated as a bit carrier and * reinterpreted as uint, which lets callers keep a packed color beside float * particle data without a second four-component color buffer. * * @tsl * @function * @param {Node|Node} packed Packed `0xRRGGBBAA` color or its float bit carrier. * @return {Node} Normalized RGBA components in `[0, 1]`. */ export declare const unpackRGBA8: TSLFunction;