UNPKG

@ic-wallet-kit/hpl

Version:
18 lines (17 loc) 1.14 kB
import { AddHplVirtualAccountForm } from "../../../forms"; import { HplMintCacheDataHandler, HplOwnerCacheDataHandler } from "../../../internalHandlers/cacheDataHandlers"; import { IHplDataCacheRepository } from "../../../repositories"; import { CanisterService } from "../../../service"; import { HplVirtualAccount } from "../../../types"; import { BaseHandler, IdentifierService, ILogger } from "@ic-wallet-kit/common"; import "reflect-metadata"; export declare class AddHplVirtualAccountInternalHandler extends BaseHandler<AddHplVirtualAccountForm, HplVirtualAccount> { private identifierService; private canisterService; private hplOwnerCacheDataHandler; private hplMintCacheDataHandler; private hplDataCacheRepository; constructor(logger: ILogger, identifierService: IdentifierService, canisterService: CanisterService, hplDataCacheRepository: IHplDataCacheRepository, hplOwnerCacheDataHandler: HplOwnerCacheDataHandler, hplMintCacheDataHandler: HplMintCacheDataHandler); validate(form: AddHplVirtualAccountForm): Promise<void>; process(form: AddHplVirtualAccountForm): Promise<HplVirtualAccount>; }