Files
NapCatQQ/.pnpm-store/v3/files/91/7ccb981519f6f2060bb63a2c07429a11507a1a66a5eccd30f2ba049af774b5b9a75021f77e5fa84c1a9e73c2b62cf35c5fdab754bc257606ab3005edd32953
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

20 lines
609 B
Plaintext

import type { CredentialDeviceType } from '../types/index.js';
/**
* Make sense of Bits 3 and 4 in authenticator indicating:
*
* - Whether the credential can be used on multiple devices
* - Whether the credential is backed up or not
*
* Invalid configurations will raise an `Error`
*/
export declare function parseBackupFlags({ be, bs }: {
be: boolean;
bs: boolean;
}): {
credentialDeviceType: CredentialDeviceType;
credentialBackedUp: boolean;
};
export declare class InvalidBackupFlags extends Error {
constructor(message: string);
}
//# sourceMappingURL=parseBackupFlags.d.ts.map