/** * Lazy load either a script or a css file. It takes the url to be loaded as first parameter * and a second optional parameter tells if the url is a script ('script') or a css ('link'). * Note that if the second parameter is omitted, it defaults to script */ declare const useLazyLoad: (src: string, type?: "script" | "link") => string; export default useLazyLoad;