import type { AxiosResponse } from 'axios'; export interface AxiosCall { call: Promise>; controller?: AbortController; } declare const useFetchAndLoad: () => { callEndpoint: (axiosCall: AxiosCall) => Promise>; cancelEndpoint: () => void; }; export default useFetchAndLoad;