/** * Function converts hex code to rgba (or rgb) values in an array. * @param {string} hex 6 character hex code to convert * @param {number} opacity Optional opacity value to use. If not provided, alpha value returned will be 1. * @returns rgba values in rgba notation * @example hexToRgba('#FFFFFF') // rgba(255, 255, 255, 1) * @example hexToRgba('#FFFFFF', 0.5) // rgba(255, 255, 255, 0.5) */ export declare const hexToRgba: (hex: string, opacity?: number) => string;