import { IdentityApi } from '../api/identity'; import { OntIdAttribute, OntIdDDO } from '../api/types'; import { Rpc } from '../rpc/rpc'; export declare class IdentityApiImp implements IdentityApi { private rpc; constructor(rpc: Rpc); getIdentity(): Promise; getDDO(args: { identity: string; }): Promise; addAttributes(args: { attributes: OntIdAttribute[]; }): Promise; removeAttribute(args: { key: string; }): Promise; addCredential(args: { tags: string[]; credential: string; }): Promise; getCredentials(): Promise<{ tags: string[]; credential: string; }[]>; }