import { RcPaletteKeys } from '../theme/palette.type'; import { RcThemedStyled, RcThemeProps } from '../theme/theme.type'; import { palette2 } from './newPalette'; /** * get darken coefficient of color * * @example * * ```tsx * const Darken = styled(Basic)` * background-color: ${darken(palette2('interactive', 'b02'), 0.5)}; * `; * ``` */ export declare function darken( /** color input */ colorInput: ReturnType, /** color coefficient to apply */ coefficient: number): (props: RcThemeProps) => string; /** * get lighten coefficient of color * * @example * * ```tsx * const Lighten = styled(Basic)` * background-color: ${lighten(palette2('interactive', 'b02'), 0.5)}; * `; * ``` */ export declare function lighten(colorInput: ReturnType | string, coefficient: number): (props: RcThemeProps) => string; /** * get color from palette, and contrast color defined in mui * @param props props * * @example * ```ts * const [currColor, contrastBgColor] = getContrastBgColor(props); * ``` */ export declare const getContrastBgColor: RcThemedStyled<{ color?: RcPaletteKeys; }, any>;