import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { CreateDerivedTransactionPortfolioRequest } from '../model/createDerivedTransactionPortfolioRequest';
import { DeletedEntityResponse } from '../model/deletedEntityResponse';
import { Portfolio } from '../model/portfolio';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export interface CreateDerivedPortfolioRequestParams {
    /** The scope in which to create the derived transaction portfolio. */
    scope: string;
    /** The definition of the derived transaction portfolio. */
    createDerivedTransactionPortfolioRequest?: CreateDerivedTransactionPortfolioRequest;
}
export interface DeleteDerivedPortfolioDetailsRequestParams {
    /** The scope of the derived transaction portfolio. */
    scope: string;
    /** The code of the derived transaction portfolio. Together with the scope this uniquely identifies              the derived transaction portfolio. */
    code: string;
    /** The effective date of the change. */
    effectiveAt?: string;
}
export declare class DerivedTransactionPortfoliosService {
    protected httpClient: HttpClient;
    protected basePath: string;
    defaultHeaders: HttpHeaders;
    configuration: Configuration;
    encoder: HttpParameterCodec;
    constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
    private addToHttpParams;
    private addToHttpParamsRecursive;
    /**
     * CreateDerivedPortfolio: Create derived portfolio
     * Create a derived transaction portfolio from a parent transaction portfolio (which may itself be derived).
     * @param requestParameters
     * @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.
     */
    createDerivedPortfolio(requestParameters?: CreateDerivedPortfolioRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<Portfolio>;
    createDerivedPortfolio(requestParameters?: CreateDerivedPortfolioRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<Portfolio>>;
    createDerivedPortfolio(requestParameters?: CreateDerivedPortfolioRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<Portfolio>>;
    /**
     * [EARLY ACCESS] DeleteDerivedPortfolioDetails: Delete derived portfolio details
     * Delete all the portfolio details for a derived transaction portfolio.
     * @param requestParameters
     * @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.
     */
    deleteDerivedPortfolioDetails(requestParameters?: DeleteDerivedPortfolioDetailsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<DeletedEntityResponse>;
    deleteDerivedPortfolioDetails(requestParameters?: DeleteDerivedPortfolioDetailsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<DeletedEntityResponse>>;
    deleteDerivedPortfolioDetails(requestParameters?: DeleteDerivedPortfolioDetailsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<DeletedEntityResponse>>;
    static ɵfac: i0.ɵɵFactoryDeclaration<DerivedTransactionPortfoliosService, [null, { optional: true; }, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<DerivedTransactionPortfoliosService>;
}
