import * as React from 'react'; import { ParsedIcon, ParseIconsOpts } from '../utils'; import { BoxProps } from '../Box'; export declare type LocalIconProps = { /** Color of the icon. Can be a color from the palette, or any other color. */ color?: string; /** The name of your icon or parsed icon. */ icon?: string | ParsedIcon; /** A label for the icon which can be read by screen readers. This is required if a11yHidden is false. */ label?: string; /** Size of the icon. */ fontSize?: string; type?: ParseIconsOpts['type']; }; export declare type IconProps = BoxProps & LocalIconProps; export declare const Icon: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; /** Color of the icon. Can be a color from the palette, or any other color. */ }) => any; };