import * as React from 'react'; import { SvgIconProps } from './icons'; export interface IconDefinitions { [key: string]: JSX.Element; } export declare const registeredIcons: IconDefinitions; /** * Registers subset of SVG icons. * @param icons Map of icons with SVG definition. * * To be able to register icons and extend type definitions in Typescript, * interface `AdditionalIconNames `with registered icon names should be provided * in global scope for interface augmentation. Example shown below * * @example * * ``` * declare global { * interface AdditionalIconNames { * Foo: string; * Bar: string; * } * } * * registerIcons({ * Foo: *some svg value*, * Bar: *some svg value*, * }) * ``` */ export declare function registerIcons(icons: IconDefinitions): void; export declare function getIcon(name: string): React.SFC | undefined;