1/** 2 * the ut for method in class, method is promise 3 */ 4export class Test { 5 /** 6 * the ut for method in class, method has permission 7 * 8 * @permission ohos.permission.GRANT_SENSITIVE_PERMISSIONS 9 */ 10 test(param1: string): Promise<Want>; 11 12 /** 13 * the ut for method in class, method has permissions 14 * 15 * @permission ohos.permission.GET_SENSITIVE_PERMISSIONS or ohos.permission.GRANT_SENSITIVE_PERMISSIONS or ohos.permission.REVOKE_SENSITIVE_PERMISSIONS 16 */ 17 test(param1: string): Promise<Want>; 18 19 /** 20 * the ut for method in class, method has permissions 21 * 22 * @permission 23 */ 24 test(param1: string): Promise<Want>; 25}