import { type TooltipProps } from '@broxus/react-uikit'; import * as React from 'react'; import defaultIconsLibrary from '../../components/Icon/lib'; import { type IconLibraryProps, createIconsLib, defaultSvgProps, getIconSize } from '../../components/Icon/utils'; export { createIconsLib, defaultIconsLibrary, defaultSvgProps, getIconSize }; export { type IconLibraryProps }; export type DefaultLibraryType = typeof defaultIconsLibrary; type IconLibrary = { [key in string]: V; }; export interface IconProps | DefaultLibraryType = DefaultLibraryType> extends React.AllHTMLAttributes, TooltipProps { component?: React.ElementType; icon: T extends IconLibrary ? keyof T : keyof DefaultLibraryType; lib?: T; mode?: 'button' | 'image' | 'link'; prefixCls?: string; preserve?: boolean; ratio?: number; } export declare function Icon(props: IconProps): React.ReactElement; export declare function Icon>(props: IconProps): React.ReactElement; export declare namespace Icon { var displayName: string; }