import { BoxProps, ElementProps, Factory, RaikouColor, RaikouGradient, RaikouRadius, RaikouSize, StylesApiProps } from '../../core'; export type ThemeIconStylesNames = 'root'; export type ThemeIconVariant = 'filled' | 'light' | 'outline' | 'transparent' | 'white' | 'default' | 'gradient'; export type ThemeIconCssVariables = { root: '--ti-radius' | '--ti-size' | '--ti-bg' | '--ti-color' | '--ti-bd'; }; export interface ThemeIconProps extends BoxProps, StylesApiProps, ElementProps<'div'> { /** Controls width and height of the button. Numbers are converted to rem. `'md'` by default. */ size?: RaikouSize | (string & {}) | number; /** Key of `theme.colors` or any valid CSS color. Default value is `theme.primaryColor`. */ color?: RaikouColor; /** Key of `theme.radius` or any valid CSS value to set border-radius. Numbers are converted to rem. `theme.defaultRadius` by default. */ radius?: RaikouRadius; /** Gradient data used when `variant="gradient"`, default value is `theme.defaultGradient` */ gradient?: RaikouGradient; /** Icon displayed inside the component */ children?: React.ReactNode; /** Determines whether button text color with filled variant should depend on `background-color`. If luminosity of the `color` prop is less than `theme.luminosityThreshold`, then `theme.white` will be used for text color, otherwise `theme.black`. Overrides `theme.autoContrast`. */ autoContrast?: boolean; } export type ThemeIconFactory = Factory<{ props: ThemeIconProps; ref: HTMLDivElement; stylesNames: ThemeIconStylesNames; vars: ThemeIconCssVariables; variant: ThemeIconVariant; }>; export declare const ThemeIcon: import("../../core").RaikouComponent<{ props: ThemeIconProps; ref: HTMLDivElement; stylesNames: ThemeIconStylesNames; vars: ThemeIconCssVariables; variant: ThemeIconVariant; }>;