import type { EndpointTypes } from "../../shared/routes"; import type { ErrorShape } from "../../shared/errors"; import type { AxiosError, AxiosResponse } from "axios"; import type { Routes } from "../../shared/routes"; export declare function query(urlBase: string, route: T, data: EndpointTypes[T]["input"]): Promise; export declare function getErrorResponse(err: AxiosError): AxiosResponse;