import { AuthAgent, Request, RequestOptions } from '@ubio/request';
import { Configuration } from '../../config.js';
export declare class ApiRequest {
    protected config: Configuration;
    protected request: Request | null;
    constructor(config: Configuration);
    getRequest(): Request;
    createAuthAgent(): AuthAgent;
    createRequest(): Request;
    get(url: string, options?: RequestOptions): Promise<any>;
    post(url: string, options?: RequestOptions): Promise<any>;
    put(url: string, options?: RequestOptions): Promise<any>;
    delete(url: string, options?: RequestOptions): Promise<any>;
    send(method: string, url: string, options?: RequestOptions): Promise<Response>;
    getBlob(url: string, contentType: string, options?: RequestOptions): Promise<Blob | null>;
}
//# sourceMappingURL=api-request.d.ts.map