@ic-wallet-kit/hpl
Version:
Ic middleware wallet HPL protocol
15 lines (14 loc) • 745 B
TypeScript
import { EditHplAccountForm } from "../../../forms/accounts/editHplAccountForm";
import { IHplAccountDataStorage } from "../../../storage/hplAccountDataStorage";
import { HplAccountDataModel } from "../../../types/accounts/hplAccountDataModel";
import "reflect-metadata";
export declare class HplAccountRepository {
private hplAccountDataStorage;
constructor(hplAccountDataStorage: IHplAccountDataStorage);
getAccounts(): Promise<HplAccountDataModel[]>;
addAccount(account: HplAccountDataModel): Promise<void>;
updateAccount(account: EditHplAccountForm): Promise<HplAccountDataModel>;
removeAccount(accountId: string): Promise<void>;
isAccountExist(accountId: string): Promise<boolean>;
private getAccountById;
}