import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { CreateRecurringPurchasesSubscriptionRequest } from '../model/createRecurringPurchasesSubscriptionRequest';
import { RecurringPurchasesInstrumentConfig } from '../model/recurringPurchasesInstrumentConfig';
import { RecurringPurchasesSubscription } from '../model/recurringPurchasesSubscription';
import { RecurringPurchasesTicketStatus } from '../model/recurringPurchasesTicketStatus';
import { RecurringPurchasesTicketsListInnerInner } from '../model/recurringPurchasesTicketsListInnerInner';
import { UpdateRecurringPurchasesSubscriptionRequest } from '../model/updateRecurringPurchasesSubscriptionRequest';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export declare class RecurringPurchasesService {
    protected httpClient: HttpClient;
    protected basePath: string;
    defaultHeaders: HttpHeaders;
    configuration: Configuration;
    encoder: HttpParameterCodec;
    constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
    private addToHttpParams;
    private addToHttpParamsRecursive;
    /**
     * @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.
     */
    recurringPurchasesActivateSubscription(id: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<RecurringPurchasesSubscription>;
    recurringPurchasesActivateSubscription(id: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<RecurringPurchasesSubscription>>;
    recurringPurchasesActivateSubscription(id: string, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<RecurringPurchasesSubscription>>;
    /**
     * @param accountId
     * @param createRecurringPurchasesSubscriptionRequest
     * @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.
     */
    recurringPurchasesCreateSubscription(accountId: number, createRecurringPurchasesSubscriptionRequest: CreateRecurringPurchasesSubscriptionRequest, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<RecurringPurchasesSubscription>;
    recurringPurchasesCreateSubscription(accountId: number, createRecurringPurchasesSubscriptionRequest: CreateRecurringPurchasesSubscriptionRequest, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<RecurringPurchasesSubscription>>;
    recurringPurchasesCreateSubscription(accountId: number, createRecurringPurchasesSubscriptionRequest: CreateRecurringPurchasesSubscriptionRequest, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<RecurringPurchasesSubscription>>;
    /**
     * @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.
     */
    recurringPurchasesDeactivateSubscription(id: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<RecurringPurchasesSubscription>;
    recurringPurchasesDeactivateSubscription(id: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<RecurringPurchasesSubscription>>;
    recurringPurchasesDeactivateSubscription(id: string, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<RecurringPurchasesSubscription>>;
    /**
     * @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.
     */
    recurringPurchasesDeleteSubscription(id: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<any>;
    recurringPurchasesDeleteSubscription(id: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<HttpResponse<any>>;
    recurringPurchasesDeleteSubscription(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.
     */
    recurringPurchasesGetInstrumentConfigs(observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<Array<RecurringPurchasesInstrumentConfig>>;
    recurringPurchasesGetInstrumentConfigs(observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<Array<RecurringPurchasesInstrumentConfig>>>;
    recurringPurchasesGetInstrumentConfigs(observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<Array<RecurringPurchasesInstrumentConfig>>>;
    /**
     * @param accountId
     * @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.
     */
    recurringPurchasesGetSubscriptions(accountId: number, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<Array<RecurringPurchasesSubscription>>;
    recurringPurchasesGetSubscriptions(accountId: number, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<Array<RecurringPurchasesSubscription>>>;
    recurringPurchasesGetSubscriptions(accountId: number, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<Array<RecurringPurchasesSubscription>>>;
    /**
     * @param page
     * @param size
     * @param accountId
     * @param timezoneOffset
     * @param status
     * @param from
     * @param to
     * @param productId
     * @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.
     */
    recurringPurchasesGetTickets(page: number, size: number, accountId: number, timezoneOffset: number, status?: RecurringPurchasesTicketStatus, from?: string, to?: string, productId?: number, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<Array<Array<RecurringPurchasesTicketsListInnerInner>>>;
    recurringPurchasesGetTickets(page: number, size: number, accountId: number, timezoneOffset: number, status?: RecurringPurchasesTicketStatus, from?: string, to?: string, productId?: number, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<Array<Array<RecurringPurchasesTicketsListInnerInner>>>>;
    recurringPurchasesGetTickets(page: number, size: number, accountId: number, timezoneOffset: number, status?: RecurringPurchasesTicketStatus, from?: string, to?: string, productId?: number, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<Array<Array<RecurringPurchasesTicketsListInnerInner>>>>;
    /**
     * @param id
     * @param updateRecurringPurchasesSubscriptionRequest
     * @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.
     */
    recurringPurchasesUpdateSubscription(id: string, updateRecurringPurchasesSubscriptionRequest: UpdateRecurringPurchasesSubscriptionRequest, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<RecurringPurchasesSubscription>;
    recurringPurchasesUpdateSubscription(id: string, updateRecurringPurchasesSubscriptionRequest: UpdateRecurringPurchasesSubscriptionRequest, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<RecurringPurchasesSubscription>>;
    recurringPurchasesUpdateSubscription(id: string, updateRecurringPurchasesSubscriptionRequest: UpdateRecurringPurchasesSubscriptionRequest, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<RecurringPurchasesSubscription>>;
    static ɵfac: i0.ɵɵFactoryDeclaration<RecurringPurchasesService, [null, { optional: true; }, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<RecurringPurchasesService>;
}
