import { Authenticator, ButtonStyle, Chain, UALError, User } from 'universal-authenticator-library'; import { EOSIOAuthOptions } from './interfaces'; export declare class EOSIOAuth extends Authenticator { private users; private eosioAuthIsLoading; private initError; private platformChecker; options?: EOSIOAuthOptions; /** * EOSIO Reference Authenticator Constructor * @param chains * @param options */ constructor(chains: Chain[], options?: EOSIOAuthOptions); /** * Checks to see if EOSIO Reference Authenticator is available in the current environment. * Currently, the platformChecker only determines the presence * of the EOSIO Reference Chrome Extension Authenticator App. */ init(): Promise; reset(): void; /** * EOSIO Reference Authenticator will render on mobile and desktop environments */ shouldRender(): boolean; shouldAutoLogin(): boolean; shouldRequestAccountName(): Promise; login(accountName?: string): Promise; /** * Calls logout on EOSIO Reference Authenticator. This clears any key caching applied by the signature provider. * Throws a Logout Error if unsuccessful. */ logout(): Promise; getStyle(): ButtonStyle; isLoading(): boolean; isErrored(): boolean; getError(): UALError | null; getOnboardingLink(): string; requiresGetKeyConfirmation(): boolean; getName(): string; }