import { ForwardRefExoticComponent, ReactSVG, RefAttributes, SVGProps } from 'react'; export type IconNode = [elementName: keyof ReactSVG, attrs: Record, children?: IconNode][]; export type SVGAttributes = Partial>; type ComponentAttributes = RefAttributes & SVGAttributes; type IconSizeAsNumber = 8 | 12 | 16 | 20 | 24 | 32; /** * @deprecated Use a string or number instead */ export declare enum IconSize { Size8 = "Size8", Size12 = "Size12", Size16 = "Size16", Size20 = "Size20", Size24 = "Size24", Size32 = "Size32" } export type FondueIconProps = ComponentAttributes & { size?: `${IconSizeAsNumber}` | IconSizeAsNumber | IconSize; }; export type FondueIcon = ForwardRefExoticComponent; export declare const createFondueIcon: (iconName: string, iconNode: IconNode) => FondueIcon; export {};