export declare class APIHandler {
    /** @param {DolphinClient} client */
    constructor(client: any);
    /** @private */
    _createProxy(pathParts: any): {
        (options: any): any;
        get(pathOrOptions: any, options: any): any;
        post(pathOrBody: any, bodyOrOptions: any, options: any): any;
        put(pathOrBody: any, bodyOrOptions: any, options: any): any;
        patch(pathOrBody: any, bodyOrOptions: any, options: any): any;
        del(pathOrOptions: any, options: any): any;
        request(method: any, subPath: any, body: any, options: any): any;
    };
    /**
     * Make an HTTP request with timeout + auto token refresh.
     * @param {string}      method
     * @param {string}      path
     * @param {any}         [body]
     * @param {RequestInit} [options]
     * @param {boolean}     [_isRetry=false]   — internal: prevent infinite refresh loop
     * @returns {Promise<any>}
     */
    request(method: any, path: any, body?: null, options?: {}): any;
}
