export declare function createSignedCertificateAsync(aid?: string): Promise<{ csrPEM: string; prvKeyPEM: string; pubKeyPEM: string; }>; export declare function isPemValid(certPem: string): boolean; export declare function getPublicKeyPem(agentId: string): Promise<{ publicKeyPem: string; certPem: string; }>; /** * 签名函数 */ export declare function signPrivate(nonce: string, privateKey: string): Promise; /** * 预加载 jsrsasign 模块 */ export declare function preloadCrypto(): Promise;