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 bjccovms5u83sj = new BjcCov({ version: "bjc v1.0.0", versionCode: 10000, path: "tencentqianwebview/src/main/ets/model/SignAction.ets", hash: "c43a2f2b1ed65f02f2d53761fa0552e3ca2261951dcb668b6b82fd51f6fe4ee9", lineCnt: 26, count: 0, projectPath: "", functions: { 0: { name: "SignAction.constructor", count: 0, regions: { 0: { startLoc: { line: 24, col: 3 }, endLoc: { line: 24, col: 27 }, count: 0, ignored: 0 } }, branches: {}, ignored: 0, index: 0 } }, exeLine: { 0: 7, 1: 9, 2: 12, 3: 15, 4: 18, 5: 21, 6: 24 } });
/**
 * `qianapp://` 协议的 `action` 已知值常量。
 *
 * SDK 不对 action 做枚举翻译，原值透出。常量便于客户用 `===` 比较，
 * 同时建议在 switch 的 default 分支兜底处理未知值以保持兼容。
 */
export class SignAction {
    /** 填写流程完成 */
    public static readonly FILL: string = 'fill';
    /** 签署流程完成 */
    public static readonly SIGN: string = 'sign';
    /** 主动拒绝填写 */
    public static readonly REJECT_FILL: string = 'reject_fill';
    /** 主动拒绝签署 */
    public static readonly REJECT_SIGN: string = 'reject_sign';
    /** 仅查看(无填写/签署动作) */
    public static readonly VIEW: string = 'view';
    // ArkTS 类禁止实例化
    private constructor() { bjccovms5u83sj.instrumentFunction(0); }
}
