/** * Custom hook that provides that loading and success state of retrieving an icon by URL. * * @param { src } string - Source URL for the icon image. * @returns {isImageReady} boolean - Boolean indicate whether image is ready to be shown. */ export type ImageState = 'error' | 'loading' | 'success'; export declare const useImageLoader: (src?: string) => ImageState;