/** * Hook for loading external script * @param {string} src - The URL of the script * @param {boolean} [doNotLoad=false] - If set to true the script will not be loaded * This can be handy because hooks can not be called conditionally by the consumer */ declare function useScript(src: string, doNotLoad?: boolean): boolean[]; export default useScript;