import * as ethers from "ethers"; import { GetWalletByInGamePlayerIdResponse, ViaSignerConstructorParams } from "./interfaces"; import { HallidayBase } from "./base"; export declare class HallidayViaSigner extends HallidayBase { private signer; /** * Constructor for the Halliday client. * * @param {ViaSignerConstructorParams} params * @param {string} params.hallidayPublicApiKey API key provided to you by the Halliday team * @param {ethers.JsonRpcSigner} params.signer The signer of the user's non-custodial wallet * @param {string} params.blockchainType Blockchain of the Halliday AA wallet */ constructor(params: ViaSignerConstructorParams); setSigner(signer: ethers.JsonRpcSigner): void; getSigner(): Promise; /** * Call this function, getOrCreateHallidayAAWallet, with the user's id in your * system. This function will get or create the Halliday AA wallet, that * the non-custodial wallet will be the owner of. * * Need to call this before any of the below methods to make sure the user * has a Halliday AA Wallet * * @param {string} inGamePlayerId * @param {string} playerEmail * @returns {Promise} Halliday AA wallet info */ getOrCreateHallidayAAWallet(inGamePlayerId: string, playerEmail: string): Promise; }