1 import type { WasmApiWallet, WasmApiWalletAccount, WasmApiWalletKey, WasmApiWalletSettings } from '@proton/andromeda';
3 export type ApiWalletWithPassphraseInput = WasmApiWallet & { Passphrase?: string };
4 export type DecryptedApiWalletKey = WasmApiWalletKey & { DecryptedKey?: CryptoKey };
6 export interface IWasmApiWalletData {
7 Wallet: ApiWalletWithPassphraseInput;
8 WalletAccounts: WasmApiWalletAccount[];
9 WalletKey?: DecryptedApiWalletKey;
10 WalletSettings?: WasmApiWalletSettings;
11 IsNotDecryptable?: boolean;