import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { CreatePolicyOptions } from '../model/createPolicyOptions';
import { PaginatedPolicyAcknowledgementInfo } from '../model/paginatedPolicyAcknowledgementInfo';
import { PolicyInfo } from '../model/policyInfo';
import { PolicyType } from '../model/policyType';
import { UpdatePolicyOptions } from '../model/updatePolicyOptions';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export declare class PoliciesService {
    protected httpClient: HttpClient;
    protected basePath: string;
    defaultHeaders: HttpHeaders;
    configuration: Configuration;
    encoder: HttpParameterCodec;
    constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
    private addToHttpParams;
    private addToHttpParamsRecursive;
    /**
     * Create policy
     * @param createPolicyOptions
     * @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.
     */
    createPolicy(createPolicyOptions?: CreatePolicyOptions, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<PolicyInfo>;
    createPolicy(createPolicyOptions?: CreatePolicyOptions, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<PolicyInfo>>;
    createPolicy(createPolicyOptions?: CreatePolicyOptions, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<PolicyInfo>>;
    /**
     * Get acknowledge history
     * @param userId
     * @param type
     * @param page
     * @param size
     * @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.
     */
    getAcknowledgeHistory(userId?: number, type?: PolicyType, page?: number, size?: number, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<PaginatedPolicyAcknowledgementInfo>;
    getAcknowledgeHistory(userId?: number, type?: PolicyType, page?: number, size?: number, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<PaginatedPolicyAcknowledgementInfo>>;
    getAcknowledgeHistory(userId?: number, type?: PolicyType, page?: number, size?: number, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<PaginatedPolicyAcknowledgementInfo>>;
    /**
     * Get latest policies
     * @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.
     */
    getLatestPoclies(observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<Array<PolicyInfo>>;
    getLatestPoclies(observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<Array<PolicyInfo>>>;
    getLatestPoclies(observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<Array<PolicyInfo>>>;
    /**
     * Get policy by type
     * @param type
     * @param version
     * @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.
     */
    getPoclicyByType(type: PolicyType, version?: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<PolicyInfo>;
    getPoclicyByType(type: PolicyType, version?: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<PolicyInfo>>;
    getPoclicyByType(type: PolicyType, version?: string, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<PolicyInfo>>;
    /**
     * Get policies history
     * @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.
     */
    getPocliesHistory(observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<Array<PolicyInfo>>;
    getPocliesHistory(observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<Array<PolicyInfo>>>;
    getPocliesHistory(observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<Array<PolicyInfo>>>;
    /**
     * Review policy
     * @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.
     */
    reviewPolicy(id: number, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<PolicyInfo>;
    reviewPolicy(id: number, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<PolicyInfo>>;
    reviewPolicy(id: number, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<PolicyInfo>>;
    /**
     * Update policy
     * @param id
     * @param updatePolicyOptions
     * @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.
     */
    updatePolicy(id: number, updatePolicyOptions?: UpdatePolicyOptions, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<PolicyInfo>;
    updatePolicy(id: number, updatePolicyOptions?: UpdatePolicyOptions, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<PolicyInfo>>;
    updatePolicy(id: number, updatePolicyOptions?: UpdatePolicyOptions, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<PolicyInfo>>;
    static ɵfac: i0.ɵɵFactoryDeclaration<PoliciesService, [null, { optional: true; }, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<PoliciesService>;
}
