import type { ColorValue } from 'react-native'; import type { ColorMode, InteractionColorOptions, InteractionColorResult, InteractionColorState } from './types'; /** * Default interaction lightness and alpha shifts for each state and mode. * * Source: x3-design/fluent-design@206e890b645fb450ad7c5df2ff981765349a2b58. */ export declare const INTERACTION_COLOR_DELTAS: { readonly hover: { readonly light: { readonly lightness: -0.03; readonly alpha: 0.04; }; readonly dark: { readonly lightness: 0.03; readonly alpha: 0.03; }; }; readonly pressed: { readonly light: { readonly lightness: -0.06; readonly alpha: 0.08; }; readonly dark: { readonly lightness: 0.06; readonly alpha: 0.06; }; }; }; /** * Reference surfaces, as 8-bit sRGB channels, that the warm transform uses to * solve translucent colors: `#ffffff` in light mode and `#292929` in dark mode. */ export declare const WARM_REFERENCE_BACKDROP: { readonly light: readonly [255, 255, 255]; readonly dark: readonly [41, 41, 41]; }; /** * Generate one interaction-state color from a rest color with the cool or * warm OKLCH algorithm. Colors JavaScript cannot resolve return a structured * diagnostic instead of a fabricated value. */ export declare function getInteractionColor(colorValue: ColorValue, mode: ColorMode, state: InteractionColorState, options?: InteractionColorOptions): InteractionColorResult; /** Generate a hover color from a rest color. */ export declare function getHoverColor(colorValue: ColorValue, mode: ColorMode, options?: InteractionColorOptions): InteractionColorResult; /** Generate a pressed color from a rest color. */ export declare function getPressColor(colorValue: ColorValue, mode: ColorMode, options?: InteractionColorOptions): InteractionColorResult; //# sourceMappingURL=interaction.d.ts.map