export declare class MaximAPI {
    private baseUrl;
    private apiKey;
    private httpAgent;
    private httpsAgent;
    constructor(baseUrl: string, apiKey: string);
    protected fetch<T>(relativeUrl: string, { method, headers, body, }?: {
        method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
        headers?: {
            [key: string]: string;
        };
        body?: string;
    }): Promise<T>;
    destroyAgents(): void;
}
