import { ReactNode } from 'react' import { IExchangeMetadata, INetworkMetadata, ITokenMetadata, IWalletMetadata, TType, TVariant, } from '@web3icons/common' /** * Interface for DynamicIcon component props. * * @property {IWalletMetadata | ITokenMetadata | INetworkMetadata | IExchangeMetadata | undefined} metadata - Metadata for the icon. * @property {TType} type - Type of the icon (token, network, or wallet). * @property {React.ForwardedRef} ref - Forwarded ref for the icon. * @property {(string | number)} [size] - Size of the icon. * @property {string} [color] - Color of the icon. * @property {string} [className] - Additional CSS classes for the icon. * @property {'mono' | 'branded'} [variant] - Variant of the icon. * @property {(string | ReactNode)} [fallback] - Fallback content to display if the icon fails to load. */ interface IDynamicIcon { metadata: | ITokenMetadata | IWalletMetadata | INetworkMetadata | IExchangeMetadata | undefined type: TType ref?: React.ForwardedRef size?: string | number color?: string className?: string variant?: TVariant fallback?: string | ReactNode } /** * DynamicIcon component dynamically loads and renders icons based on the provided metadata and type. * * @param {IDynamicIcon} props * @param {React.ForwardedRef} ref * @returns {ReactElement | null} Element for the DynamicIcon component or null if the icon fails to load. */ declare const DynamicIcon: import('react').ForwardRefExoticComponent< Omit & import('react').RefAttributes > export default DynamicIcon //# sourceMappingURL=DynamicIcon.d.ts.map