export default function useFetchState(loadOnUpdate: boolean): { error: any; state: import("vue").Ref<"none" | "loading" | "updating" | "failed">; hasLoaded: import("vue").Ref; isLoading: import("vue").ComputedRef; isFailed: import("vue").ComputedRef; handleError: (e: any) => void; };