Docs

LocalWalletLoadOrCreateOptions

type LocalWalletLoadOrCreateOptions =
  | { password: string; storage?: AsyncStorage; strategy: "encryptedJson" }
  | {
      encryption: LocalWalletDecryptOptions;
      storage?: AsyncStorage;
      strategy: "privateKey";
    };