import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { RecurringPurchasesSubscriptionFilterStatus } from '../model/recurringPurchasesSubscriptionFilterStatus';
import { RecurringPurchasesSubscriptionWithNextExecutionDate } from '../model/recurringPurchasesSubscriptionWithNextExecutionDate';
import { RecurringPurchasesSubscriptionWithNextExecutionDateList } from '../model/recurringPurchasesSubscriptionWithNextExecutionDateList';
import { RecurringPurchasesTicketList } from '../model/recurringPurchasesTicketList';
import { RecurringPurchasesTicketStatus } from '../model/recurringPurchasesTicketStatus';
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 page
     * @param size
     * @param ids
     * @param accountId
     * @param status
     * @param from
     * @param to
     * @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.
     */
    getRpSubscriptions(page?: number, size?: number, ids?: string, accountId?: number, status?: RecurringPurchasesSubscriptionFilterStatus, from?: string, to?: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<RecurringPurchasesSubscriptionWithNextExecutionDateList>;
    getRpSubscriptions(page?: number, size?: number, ids?: string, accountId?: number, status?: RecurringPurchasesSubscriptionFilterStatus, from?: string, to?: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<RecurringPurchasesSubscriptionWithNextExecutionDateList>>;
    getRpSubscriptions(page?: number, size?: number, ids?: string, accountId?: number, status?: RecurringPurchasesSubscriptionFilterStatus, from?: string, to?: string, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<RecurringPurchasesSubscriptionWithNextExecutionDateList>>;
    /**
     * @param page
     * @param size
     * @param accountId
     * @param status
     * @param from
     * @param to
     * @param subscriptionId
     * @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.
     */
    getRpTickets(page?: number, size?: number, accountId?: number, status?: RecurringPurchasesTicketStatus, from?: string, to?: string, subscriptionId?: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<RecurringPurchasesTicketList>;
    getRpTickets(page?: number, size?: number, accountId?: number, status?: RecurringPurchasesTicketStatus, from?: string, to?: string, subscriptionId?: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<RecurringPurchasesTicketList>>;
    getRpTickets(page?: number, size?: number, accountId?: number, status?: RecurringPurchasesTicketStatus, from?: string, to?: string, subscriptionId?: string, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<RecurringPurchasesTicketList>>;
    /**
     * @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.
     */
    updateRpSubscription(id: string, updateRecurringPurchasesSubscriptionRequest: UpdateRecurringPurchasesSubscriptionRequest, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<RecurringPurchasesSubscriptionWithNextExecutionDate>;
    updateRpSubscription(id: string, updateRecurringPurchasesSubscriptionRequest: UpdateRecurringPurchasesSubscriptionRequest, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<RecurringPurchasesSubscriptionWithNextExecutionDate>>;
    updateRpSubscription(id: string, updateRecurringPurchasesSubscriptionRequest: UpdateRecurringPurchasesSubscriptionRequest, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<RecurringPurchasesSubscriptionWithNextExecutionDate>>;
    static ɵfac: i0.ɵɵFactoryDeclaration<RecurringPurchasesService, [null, { optional: true; }, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<RecurringPurchasesService>;
}
