import { ElementType, SVGProps } from 'react'; import { CSSRuleWithTheme } from '../style/themeContext'; export declare type IconElement = ElementType>; export declare enum IconScale { Equal = "1em", Larger = "1.5em", Double = "2em" } export interface BaseIconProps { element: IconElement; scale?: IconScale; block?: boolean; } export interface IconProps

extends BaseIconProps { style?: CSSRuleWithTheme | CSSRuleWithTheme[]; styleProps?: P; } export interface IconPropsWithoutStyleProps extends BaseIconProps { style?: CSSRuleWithTheme | CSSRuleWithTheme[]; } export interface IconPropsWithStyleProps

extends BaseIconProps { style?: CSSRuleWithTheme

| CSSRuleWithTheme

[]; styleProps: P; } export declare function Icon(props: IconPropsWithoutStyleProps): JSX.Element; export declare function Icon

(props: IconPropsWithStyleProps

): JSX.Element; //# sourceMappingURL=icon.d.ts.map