import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { FormationTreeNode } from '../model/formationTreeNode';
import { Configuration } from '../configuration';
import { FormationServiceInterface } from './formation.serviceInterface';
import * as i0 from "@angular/core";
export declare class FormationService implements FormationServiceInterface {
    protected httpClient: HttpClient;
    protected basePath: string;
    defaultHeaders: HttpHeaders;
    configuration: Configuration;
    encoder: HttpParameterCodec;
    constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
    private addToHttpParams;
    private addToHttpParamsRecursive;
    /**
     * @param FormationID
     * @param DisplayModeID
     * @param InclusionModeID
     * @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.
     */
    formationsItemFlat(FormationID?: number, DisplayModeID?: number, InclusionModeID?: number, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<Array<FormationTreeNode>>;
    formationsItemFlat(FormationID?: number, DisplayModeID?: number, InclusionModeID?: number, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<Array<FormationTreeNode>>>;
    formationsItemFlat(FormationID?: number, DisplayModeID?: number, InclusionModeID?: number, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<Array<FormationTreeNode>>>;
    /**
     * @param FormationID
     * @param DisplayModeID
     * @param InclusionModeID
     * @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.
     */
    formationsItemTree(FormationID?: number, DisplayModeID?: number, InclusionModeID?: number, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<Array<FormationTreeNode>>;
    formationsItemTree(FormationID?: number, DisplayModeID?: number, InclusionModeID?: number, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<Array<FormationTreeNode>>>;
    formationsItemTree(FormationID?: number, DisplayModeID?: number, InclusionModeID?: number, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<Array<FormationTreeNode>>>;
    static ɵfac: i0.ɵɵFactoryDeclaration<FormationService, [null, { optional: true; }, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<FormationService>;
}
