import { CSSObject } from '@emotion/react';
import { Theme } from '../../theme';
import { TypographyColor } from '../types';
/**
 * Recursively appends `!important` to all CSS properties in an Emotion `CSSObject`.
 * Used to ensure that we always override Ant styles, without worrying about selector precedence.
 */
export declare function importantify(obj: CSSObject): CSSObject;
/**
 * Returns a text color, in case of invalid/missing key and missing fallback color it will return textPrimary
 * @param theme
 * @param key - key of TypographyColor
 * @param fallbackColor - color to return as fallback -- used to remove tertiary check inline
 */
export declare function getTypographyColor(theme: Theme, key?: TypographyColor, fallbackColor?: string): string;
//# sourceMappingURL=css-utils.d.ts.map