/// import { PathOrFileDescriptor } from "fs"; import { Readable, Writable } from "stream"; /** * Holds in memory, encrypts and decrypts user data to and from a file or stream. * For details on how the encryption and dectiption process is done check out {@link Crypto} */ export declare class MyInvestorUserDataHandler { static parser(json: MyInvestorUserData): MyInvestorUserData; static encrypt(data: MyInvestorUserData, password: string, writable: Writable | PathOrFileDescriptor): Promise; static decrypt(password: string, readable: PathOrFileDescriptor | Readable): Promise; } /** This interface defines the attributes needed for using the API */ export interface MyInvestorUserData { user: string; password: string; device_id: string; digital_signature?: string; }