import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { AddressKeyDefinition } from '../model/addressKeyDefinition';
import { CreateAddressKeyDefinitionRequest } from '../model/createAddressKeyDefinitionRequest';
import { PagedResourceListOfAddressKeyDefinition } from '../model/pagedResourceListOfAddressKeyDefinition';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export declare class AddressKeyDefinitionService {
    protected httpClient: HttpClient;
    protected basePath: string;
    defaultHeaders: HttpHeaders;
    configuration: Configuration;
    encoder: HttpParameterCodec;
    constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
    private addToHttpParams;
    private addToHttpParamsRecursive;
    /**
     * [EARLY ACCESS] CreateAddressKeyDefinition: Create an AddressKeyDefinition.
     * Create the given address key definition.
     * @param createAddressKeyDefinitionRequest The request used to create the address key definition.
     * @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.
     */
    createAddressKeyDefinition(createAddressKeyDefinitionRequest: CreateAddressKeyDefinitionRequest, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
    }): Observable<AddressKeyDefinition>;
    createAddressKeyDefinition(createAddressKeyDefinitionRequest: CreateAddressKeyDefinitionRequest, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
    }): Observable<HttpResponse<AddressKeyDefinition>>;
    createAddressKeyDefinition(createAddressKeyDefinitionRequest: CreateAddressKeyDefinitionRequest, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
    }): Observable<HttpEvent<AddressKeyDefinition>>;
    /**
     * [EARLY ACCESS] GetAddressKeyDefinition: Get an AddressKeyDefinition.
     * Get the address key definition with the given address key at the specific asAt time.
     * @param key The address key of the address key definition.
     * @param asAt The asAt datetime at which to retrieve the address key definition. Defaults to return the latest version of the address key definition if not specified.
     * @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.
     */
    getAddressKeyDefinition(key: string, asAt?: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
    }): Observable<AddressKeyDefinition>;
    getAddressKeyDefinition(key: string, asAt?: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
    }): Observable<HttpResponse<AddressKeyDefinition>>;
    getAddressKeyDefinition(key: string, asAt?: string, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
    }): Observable<HttpEvent<AddressKeyDefinition>>;
    /**
     * [EARLY ACCESS] ListAddressKeyDefinitions: List AddressKeyDefinitions.
     * Fetch the last pre-AsAt date version of each address key definition.
     * @param asAt The asAt datetime at which to retrieve the address key definition.              Defaults to return the latest version of the address key definition if not specified.
     * @param page The pagination token to use to continue listing address key definitions from a previous call to list address key definitions.              This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields              must not have changed since the original request.
     * @param limit When paginating, limit the number of returned results to this many.
     * @param filter Expression to filter the result set. Read more about filtering results from LUSID here:              https://support.lusid.com/filtering-results-from-lusid.
     * @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.
     */
    listAddressKeyDefinitions(asAt?: string, page?: string, limit?: number, filter?: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
    }): Observable<PagedResourceListOfAddressKeyDefinition>;
    listAddressKeyDefinitions(asAt?: string, page?: string, limit?: number, filter?: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
    }): Observable<HttpResponse<PagedResourceListOfAddressKeyDefinition>>;
    listAddressKeyDefinitions(asAt?: string, page?: string, limit?: number, filter?: string, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
    }): Observable<HttpEvent<PagedResourceListOfAddressKeyDefinition>>;
    static ɵfac: i0.ɵɵFactoryDeclaration<AddressKeyDefinitionService, [null, { optional: true; }, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<AddressKeyDefinitionService>;
}
