import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { CreateTrustedContactRequest } from '../model/createTrustedContactRequest';
import { TrustedContact } from '../model/trustedContact';
import { UpdateTrustedContactRequest } from '../model/updateTrustedContactRequest';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export declare class TrustedContactsService {
    protected httpClient: HttpClient;
    protected basePath: string;
    defaultHeaders: HttpHeaders;
    configuration: Configuration;
    encoder: HttpParameterCodec;
    constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
    private addToHttpParams;
    private addToHttpParamsRecursive;
    /**
     * @param userId
     * @param createTrustedContactRequest
     * @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.
     */
    createUserTrustedContact(userId: number, createTrustedContactRequest: CreateTrustedContactRequest, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<TrustedContact>;
    createUserTrustedContact(userId: number, createTrustedContactRequest: CreateTrustedContactRequest, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<TrustedContact>>;
    createUserTrustedContact(userId: number, createTrustedContactRequest: CreateTrustedContactRequest, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<TrustedContact>>;
    /**
     * Delete trusted contact
     * @param id
     * @param userId
     * @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.
     */
    deleteUserTrustedContact(id: string, userId: number, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<any>;
    deleteUserTrustedContact(id: string, userId: number, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<HttpResponse<any>>;
    deleteUserTrustedContact(id: string, userId: number, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<HttpEvent<any>>;
    /**
     * Update trusted contact
     * @param id
     * @param userId
     * @param updateTrustedContactRequest
     * @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.
     */
    updateUserTrustedContact(id: string, userId: number, updateTrustedContactRequest: UpdateTrustedContactRequest, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<TrustedContact>;
    updateUserTrustedContact(id: string, userId: number, updateTrustedContactRequest: UpdateTrustedContactRequest, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<TrustedContact>>;
    updateUserTrustedContact(id: string, userId: number, updateTrustedContactRequest: UpdateTrustedContactRequest, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<TrustedContact>>;
    static ɵfac: i0.ɵɵFactoryDeclaration<TrustedContactsService, [null, { optional: true; }, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<TrustedContactsService>;
}
