import { RequestInjectorFn, RequestService } from './RequestService'; export interface ClientOptions { /** The API URL (e.g. "https://example.com/api/v1"). */ apiUrl: string; /** An optional injector which alters every Axios request configuration before the request is sent. */ requestInjector?: RequestInjectorFn; } export declare class APIClient { readonly requestService: RequestService; private readonly options; constructor(apiUrl: string); constructor(options: ClientOptions); /** Remove the request injector. */ removeRequestInjector(): void; /** * Set a new API URL. * @param newUrl The new API url */ setApiUrl(newUrl: string): void; /** * Set a (new) request injector. * @param requestInjector The new request injector. */ setRequestInjector(requestInjector: RequestInjectorFn): void; }