import { IAbstractConnectorOptions } from "../../helpers"; declare type ETHEREUM_NETWORK_TYPE = "ropsten" | "rinkeby" | "kovan" | "mainnet" | "goerli" | "localhost" | "matic" | "mumbai"; interface NetworkParams { host: ETHEREUM_NETWORK_TYPE | string; chainId?: number; networkName?: string; } interface VerifierStatus { google?: boolean; facebook?: boolean; reddit?: boolean; twitch?: boolean; discord?: boolean; } interface LoginParams { verifier?: "google" | "facebook" | "twitch" | "reddit" | "discord" | string; } declare type LOGIN_TYPE = "google" | "facebook" | "reddit" | "discord" | "twitch" | "apple" | "github" | "linkedin" | "twitter" | "weibo" | "line" | "jwt" | "email-password" | "passwordless"; interface BaseLoginOptions { display?: "page" | "popup" | "touch" | "wap"; prompt?: "none" | "login" | "consent" | "select_account"; max_age?: string | number; ui_locales?: string; id_token_hint?: string; login_hint?: string; acr_values?: string; scope?: string; audience?: string; connection?: string; [key: string]: unknown; } interface JwtParameters extends BaseLoginOptions { domain: string; client_id?: string; redirect_uri?: string; leeway?: number; verifierIdField?: string; isVerifierIdCaseSensitive?: boolean; } interface IntegrityParams { check: boolean; hash?: string; version?: string; } interface WhiteLabelParams { theme: ThemeParams; defaultLanguage?: string; logoDark: string; logoLight: string; topupHide?: boolean; featuredBillboardHide?: boolean; disclaimerHide?: boolean; tncLink?: LocaleLinks; privacyPolicy?: LocaleLinks; contactLink?: LocaleLinks; customTranslations?: LocaleLinks; } interface LocaleLinks { en?: T; ja?: T; ko?: T; de?: T; zh?: T; } interface ThemeParams { isDark: boolean; colors: any; } interface LoginConfigItem { name?: string; typeOfLogin: LOGIN_TYPE; description?: string; clientId?: string; logoHover?: string; logoLight?: string; logoDark?: string; showOnModal?: boolean; jwtParameters?: JwtParameters; } interface LoginConfig { [verifier: string]: LoginConfigItem; } export interface IOptions { buttonPosition?: "top-left" | "top-right" | "bottom-right" | "bottom-left"; modalZIndex?: number; apiKey?: string; buildEnv?: "production" | "development" | "staging" | "testing" | "lrc"; enableLogging?: boolean; enabledVerifiers?: VerifierStatus; loginConfig?: LoginConfig; showTorusButton?: boolean; integrity?: IntegrityParams; whiteLabel?: WhiteLabelParams; } export interface ITorusConnectorOptions extends IAbstractConnectorOptions { config?: IOptions; loginParams?: LoginParams; networkParams?: NetworkParams; } declare const ConnectToTorus: (Torus: any, opts: ITorusConnectorOptions) => Promise; export default ConnectToTorus; //# sourceMappingURL=torus.d.ts.map