import { type QueryClient } from "@tanstack/react-query"; import type { Endpoint } from "../../../types/misc"; import type { UseRetrieveRequest, UseRetrieveOptions, UseRetrieveResult, UseRetrieveException, UseRetrieveHTTPError } from "./use-retrieve.types"; /** Allows to perform `GET` and `HEAD` requests. */ export declare const useRetrieve: (url: Endpoint, config: UseRetrieveOptions, queryClient?: QueryClient) => UseRetrieveResult; /** Checks if the error was raised by Axios. */ export declare const isRetrieveError: (error: UseRetrieveException | null) => error is UseRetrieveHTTPError;