class BjcCov {
    coverage: {
        [key: string]: string | number;
    };
    constructor(covData: object) {
        const gcv = "__coverage__";
        let coverage = globalThis[gcv] || (globalThis[gcv] = {});
        if (!coverage[covData.path] && true) {
            coverage[covData.path] = covData;
        }
        this.coverage = coverage[covData.path];
    }
    instrumentFunction(func: number) {
        this.coverage.functions[func].count++;
        this.coverage.functions[func].regions[0].count++;
    }
    instrumentRegion(func: number, region: number) {
        this.coverage.functions[func].regions[region].count++;
    }
    instrumentReturn(func: number, retIdx: number) {
        this.coverage.functions[func].returnes[retIdx].count++;
    }
    instrumentBranch(func: number, branch: number, trueOrFalse: boolean) {
        if (trueOrFalse) {
            this.coverage.functions[func].branches[branch].trueCount++;
            for (let r of Object.values(this.coverage.functions[func].branches[branch].group)) {
                if (r !== branch) {
                    this.coverage.functions[func].branches[r as number].falseCount++;
                }
            }
        }
        else {
            this.coverage.functions[func].branches[branch].falseCount++;
        }
    }
}
let bjccovms5u83s2 = new BjcCov({ version: "bjc v1.0.0", versionCode: 10000, path: "tencentqianwebview/src/main/ets/model/SignResultStatus.ets", hash: "89b8e2ad4a139ef9b212c106c554b43d991aed8390d4d6f09a2b99568eab1ffd", lineCnt: 15, count: 0, projectPath: "", functions: { 0: { name: "SignResultStatus.constructor", count: 0, regions: { 0: { startLoc: { line: 13, col: 3 }, endLoc: { line: 13, col: 27 }, count: 0, ignored: 0 } }, branches: {}, ignored: 0, index: 0 } }, exeLine: { 0: 6, 1: 8, 2: 11, 3: 13 } });
/**
 * `qianapp://` 协议的 `result` 已知值常量。
 *
 * 字符串原值透出，常量便于客户用 `===` 比较；建议在 switch 的 default 分支兜底未知值。
 */
export class SignResultStatus {
    /** 操作成功 */
    public static readonly SUCCESS: string = 'success';
    /** 操作失败 */
    public static readonly FAIL: string = 'fail';
    private constructor() { bjccovms5u83s2.instrumentFunction(0); }
}
