import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { CreateCryptoAddressRequest } from '../model/createCryptoAddressRequest';
import { CryptoAddress } from '../model/cryptoAddress';
import { CryptoAddressWhitelistingStatus } from '../model/cryptoAddressWhitelistingStatus';
import { CryptoAddressesToggleAsFavourite200Response } from '../model/cryptoAddressesToggleAsFavourite200Response';
import { UpdateCryptoAddressRequest } from '../model/updateCryptoAddressRequest';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export declare class CryptoAddressesService {
    protected httpClient: HttpClient;
    protected basePath: string;
    defaultHeaders: HttpHeaders;
    configuration: Configuration;
    encoder: HttpParameterCodec;
    constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
    private addToHttpParams;
    private addToHttpParamsRecursive;
    /**
     * @param createCryptoAddressRequest
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    cryptoAddressesCreate(createCryptoAddressRequest: CreateCryptoAddressRequest, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<CryptoAddress>;
    cryptoAddressesCreate(createCryptoAddressRequest: CreateCryptoAddressRequest, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<CryptoAddress>>;
    cryptoAddressesCreate(createCryptoAddressRequest: CreateCryptoAddressRequest, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<CryptoAddress>>;
    /**
     * @param id
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    cryptoAddressesDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<any>;
    cryptoAddressesDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<HttpResponse<any>>;
    cryptoAddressesDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<HttpEvent<any>>;
    /**
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    cryptoAddressesGet(observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<Array<CryptoAddress>>;
    cryptoAddressesGet(observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<Array<CryptoAddress>>>;
    cryptoAddressesGet(observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<Array<CryptoAddress>>>;
    /**
     * @param id
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    cryptoAddressesToggleAsFavourite(id: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<CryptoAddressesToggleAsFavourite200Response>;
    cryptoAddressesToggleAsFavourite(id: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<CryptoAddressesToggleAsFavourite200Response>>;
    cryptoAddressesToggleAsFavourite(id: string, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<CryptoAddressesToggleAsFavourite200Response>>;
    /**
     * @param id
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    cryptoAddressesUnwhitelist(id: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<any>;
    cryptoAddressesUnwhitelist(id: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<HttpResponse<any>>;
    cryptoAddressesUnwhitelist(id: string, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<HttpEvent<any>>;
    /**
     * @param id
     * @param updateCryptoAddressRequest
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    cryptoAddressesUpdate(id: string, updateCryptoAddressRequest: UpdateCryptoAddressRequest, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<CryptoAddress>;
    cryptoAddressesUpdate(id: string, updateCryptoAddressRequest: UpdateCryptoAddressRequest, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<CryptoAddress>>;
    cryptoAddressesUpdate(id: string, updateCryptoAddressRequest: UpdateCryptoAddressRequest, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<CryptoAddress>>;
    /**
     * @param id
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    cryptoAddressesWhitelist(id: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain';
        context?: HttpContext;
    }): Observable<CryptoAddressWhitelistingStatus>;
    cryptoAddressesWhitelist(id: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain';
        context?: HttpContext;
    }): Observable<HttpResponse<CryptoAddressWhitelistingStatus>>;
    cryptoAddressesWhitelist(id: string, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain';
        context?: HttpContext;
    }): Observable<HttpEvent<CryptoAddressWhitelistingStatus>>;
    static ɵfac: i0.ɵɵFactoryDeclaration<CryptoAddressesService, [null, { optional: true; }, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<CryptoAddressesService>;
}
