import { TJsonRpcResponse } from "../rpc/jsonrpc";
import { SANClient } from "../SANClient";
import { TClaim } from "../claim";
declare type TIssuer = {
    id: string;
    did: string;
    uuid: string;
    website: string;
    endpoint: string;
    shortDescription: string;
    longDescription: string;
    serviceType: string;
    requestData: {
        basicData: string[] | object[];
        otherData: string[] | object[];
    };
    createTime: string;
    updateTime: string;
};
export declare class issuer {
    private chain;
    private SANClient;
    constructor(SANClient: SANClient);
    private defaultIssuer;
    private dataToStringArray;
    private dataToObjectArray;
    create: (issuer: Partial<TIssuer>, hexPriKey: string) => Promise<TJsonRpcResponse<{
        issuer: TIssuer;
    }>>;
    resolve: (uuid?: string) => Promise<TJsonRpcResponse<{
        issuers: TIssuer[];
    }>>;
    update: (issuer: Partial<TIssuer>, hexPriKey: string) => Promise<TJsonRpcResponse<{
        issuer: TIssuer;
    }>>;
    revoke: (did: string, uuid: string, hexPriKey: string) => Promise<TJsonRpcResponse<string>>;
    claim: (rawClaim: TClaim, creator?: string, hexPriKey?: string) => Promise<TJsonRpcResponse<{
        claim: TClaim;
    }>>;
}
export {};
