/** * Opacity Utilities * * Helper functions for opacity-related calculations */ /** * Converts intensity value to opacity for glassmorphism effects * @param intensity - Intensity value (0-100) * @param options - Configuration options * @returns Opacity value (0-1) */ export declare function intensityToOpacity(intensity: number, options?: { minOpacity?: number; maxOpacity?: number; invert?: boolean; }): number; /** * Creates an RGBA color string with specified opacity * @param rgb - RGB color as array [r, g, b] * @param opacity - Opacity value (0-1) * @returns RGBA color string */ export declare function createRgbaColor(rgb: [number, number, number], opacity: number): string; /** * Calculates opacity based on a ratio (0-1) * @param ratio - Ratio value (0-1) * @param minOpacity - Minimum opacity (default: 0.1) * @param maxOpacity - Maximum opacity (default: 1) * @returns Opacity value (0-1) */ export declare function ratioToOpacity(ratio: number, minOpacity?: number, maxOpacity?: number): number;