import type { SVGProps as ReactSVGProps, RefAttributes, ForwardRefExoticComponent, LazyExoticComponent } from 'react'; import type { ResourceObject } from '../import-icon'; export type SVGProps = ReactSVGProps; export declare function useIcon(selector: string, resource: ResourceObject, errorHandler?: (msg: string) => void): LazyExoticComponent>>;