import type { AxiosRequestConfig } from "axios";
export declare function useFetch<T = unknown>(url: string, options?: AxiosRequestConfig): {
    data: T | null;
    loading: boolean;
    error: Error | null;
    abort: () => void;
    refetch: () => void;
};
