import { AxiosInstance } from "axios";
export declare class MaximAPI {
    private apiKey;
    protected axiosInstance: AxiosInstance;
    protected isDebug: boolean | undefined;
    private activeControllers;
    constructor(baseUrl: string, apiKey: string, isDebug?: boolean);
    protected fetch<T>(relativeUrl: string, { method, headers, body, responseType, }?: {
        method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
        headers?: {
            [key: string]: string;
        };
        body?: string;
        responseType?: "json" | "text";
    }): Promise<T>;
    /**
     * Destroys the HTTP and HTTPS agents, closing all sockets
     */
    destroyAgents(): void;
}
