import { ethers } from "ethers"; import { HallidayBase } from "./base"; import { CustomJwtConstructorParams, GetWalletByInGamePlayerIdResponse } from "./interfaces"; export declare class HallidayViaCustomJwt extends HallidayBase { private signer; private web3authClient; private verifierIdField; private verifierName; /** * Constructor for the Halliday client. * * @param {ConstructorParams} 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 * @param {boolean} params.sandbox Optional argument to use sandbox API. Defaults to false. */ constructor(params: CustomJwtConstructorParams); private static parseToken; connect(jwtToken: string): Promise; getSigner(): Promise; logout(): 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 Player id in your game - must be unique * @param {string} playerEmail Player email * @returns {Promise} Halliday AA wallet info */ getOrCreateHallidayAAWallet(inGamePlayerId: string, playerEmail: string): Promise; }