import { localStorageKeys } from './localStorage'; import { inMemoryKeys } from './inMemory'; export { localStorageKeys, inMemoryKeys }; export interface KeyPair { readonly privateKey: Uint8Array; readonly publicKey: Uint8Array; } export interface Keys { getDeviceKeyIndex(boxId: string): Promise; setDeviceKeyIndex(boxId: string, keyIndex: number): Promise; getDeviceKeyLabel(): Promise; setDeviceKeyLabel(deviceKeyLabel: string): Promise; getDeviceHashedSecretCode(boxId: string): Promise; setDeviceHashedSecretCode(boxId: string, hashedSecretCode: Uint8Array): Promise; getDeviceKeyPair(): Promise; setDeviceKeyPair(keyPair: KeyPair): Promise; hasDeviceBoxKey(keys?: { publicKey: number[]; }[]): Promise; }