import React, { Component, CSSProperties } from 'react';
import { iconName } from './constants';
import './Icon.css';
export type IconType = keyof typeof iconName;
export type IconColorType = 'primary' | 'secondary' | 'white';
export type IconSize = 'original' | 'tiny' | 'small' | 'large';
declare const defaultProps: {
    size: string;
    color: string;
};
type DefaultProps = Readonly<typeof defaultProps>;
export type IconProps = {
    size?: IconSize;
    color?: IconColorType;
    style?: CSSProperties;
    icon: IconType;
    className?: string;
    testId?: string;
} & Partial<DefaultProps>;
declare class Icon extends Component<IconProps> {
    static defaultProps: {
        size: string;
        color: string;
    };
    render(): React.JSX.Element;
}
export default Icon;
