/**
 * iCure Data Stack API Documentation
 * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
 *
 * OpenAPI spec version: v1
 *
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */
import { XHR } from './XHR';
import { DataOwnerWithType } from '../model/DataOwnerWithType';
import { AuthenticationProvider } from '../../icc-x-api/auth/AuthenticationProvider';
import { CryptoActorStubWithType } from '../model/CryptoActorStub';
export declare class IccDataownerApi {
    host: string;
    headers: Array<XHR.Header>;
    authenticationProvider: AuthenticationProvider;
    fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise<Response>;
    constructor(host: string, headers: any, authenticationProvider?: AuthenticationProvider, fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise<Response>);
    handleError(e: XHR.XHRError): never;
    /**
     * General information about the current data owner. Note that this does not decrpyt patient data owners.
     * @summary Get the data owner corresponding to the current user
     */
    getCurrentDataOwner(): Promise<DataOwnerWithType>;
    /**
     * Full data owner information
     * @summary Get a data owner by his ID
     * @param dataOwnerId
     */
    getDataOwner(dataOwnerId: string): Promise<DataOwnerWithType>;
    /**
     * General information about the keys of a data owner
     * @summary Get a data owner by his ID
     * @param dataOwnerId
     */
    getCryptoActorStub(dataOwnerId: string): Promise<CryptoActorStubWithType>;
    /**
     * Updates the keys of a data owner
     */
    modifyCryptoActorStub(stub: CryptoActorStubWithType): Promise<CryptoActorStubWithType>;
}
