import React from 'react'; import { ExternalStyles, TextColor } from '../../styles'; import { Theme } from '../../styles/theme/createTheme'; import { Omit } from '../../util/types'; import { Icons } from './generated/types'; export type IconColor = TextColor | 'none'; export type IconImage = Icons | React.ComponentType>; export interface IconProps extends Omit, 'style'> { icon: IconImage; fill?: IconColor; stroke?: IconColor; size?: number; style?: ExternalStyles; } export declare const getIconColor: (theme: Theme, color: IconColor) => string; export declare function Icon(props: IconProps): JSX.Element; export declare namespace Icon { var defaultProps: Partial; }