import { Base } from './Base'; import { ICertResponse } from '../interface/LocalStorage'; export interface CertInfo extends ICertResponse { privateKeyPem?: string; pubblicKeyPem?: string; } export declare class CallUserCertification extends Base { /** 用于区分证书的唯一ID,一般使用地址 */ address: string | null; protected getDefaultRequest(): Promise<{ userId: string; source: number; orgId: string; userType: string; certUsage: string; pubHex: string; csr: string; }>; private sendCsr; /** * 查询证书 * @returns */ sendCertQuery(): Promise>; /** * 申请证书 * @returns */ send(): Promise<{ code: number; data: ICertResponse; message: string; } | { code: number; data: undefined; message: string; }>; }