import { IconName } from './nv-icons'; import { SemanticSizes, DeprecatedSemanticColors } from '../../utils/constants'; export declare class NvIcon { /** * Ensures the icon sprite is loaded into the document. */ private static ensureSpriteInlined; /****************************************************************************/ /** * Set size to ExtraSmall. * @deprecated use size instead. */ readonly xsmall: boolean; /** * Set size to Small. * @deprecated use size instead. */ readonly small: boolean; /** * Set size to Medium. * @deprecated use size instead. */ readonly medium: boolean; /** * Set size to Large. * @deprecated use size instead. */ readonly large: boolean; /** * Set size to ExtraLarge. * @deprecated use size instead. */ readonly xlarge: boolean; /** * Set color of the icon. * @deprecated use class names instead. */ readonly color: `${DeprecatedSemanticColors}`; componentWillRender(): void; /****************************************************************************/ /** * Choose the icon you want to display. This also sets the aria-label for * improved accessibility, helping users who rely on screen readers. * @icon */ readonly name: `${IconName}`; /** * Adjust the size of the icon to fit your design needs. */ size: `${SemanticSizes}`; componentWillLoad(): void; /****************************************************************************/ render(): any; }