// @flow
import {Component} from 'react'
import type {IconType as _IconType} from './icon.constants'
export type IconType = _IconType
import type {Exact} from '../constants/types/more'

export type Props = {
  type: IconType,
  hint?: string,
  onClick?: (event: SyntheticMouseEvent) => void,
  onPress?: void,
  onMouseEnter?: () => void,
  onMouseLeave?: () => void,
  style?: ?Object,
  opacity?: boolean,
  inheritColor?: boolean,
  underlayColor?: string,
  className?: string
}

declare export default class Icon extends Component<void, Exact<Props>, void> {}
declare export function iconTypeToImgSet (type: IconType): string;
declare export function urlsToImgSet (imgMap: {[size: string]: string}): ?string;
