type LocalWalletEncryptOptions = | { encrypt?: ( message: string, password: string, ) => Promise<string>; password: string; } | false;