Use source loader for email sprite icons
[ProtonMail-WebClient.git] / packages / wallet / types / wasm.ts
blob1172d8428512f91c3a01ff99f3338cf0d5c56181
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;