You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
609 B

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