UNPKG

@lark-project/cli

Version:

飞书项目插件开发工具

15 lines (14 loc) 374 B
/** * 添加到系统钥匙串并信任证书 */ export declare function addToKeyChain(certPath: string): void; /** * 从钥匙串移除证书 * @param certName * @returns */ export declare function removeFromKeyChain(certName: string): boolean; export declare function isTrustedCert({ certPath, sha1 }: { certPath: string; sha1: string; }): Promise<boolean>;