import * as React from 'react'; import { colors } from '../colors'; import * as icons from './all-icons'; import { IconWeight } from 'phosphor-react'; declare enum IconSize { small = 16, medium = 20, large = 24 } type IconColor = keyof typeof colors | 'currentColor'; export type IconProps = { name: keyof typeof icons; size?: keyof typeof IconSize; color?: IconColor; weight?: IconWeight; }; export declare function Icon({ name, size, color, weight, ...rest }: IconProps): React.JSX.Element; export {}; //# sourceMappingURL=Icon.d.ts.map