import { Web3AuthLoginProvider, Web3AuthMfaLevel, Web3AuthMode, Web3AuthNetwork } from './web3auth/types'; import * as fcl from '@onflow/fcl'; import { WalletActionsCallbacks } from './wallet/types'; export type InitArgs = { clientId: string; network: Web3AuthNetwork; mfaLevel?: Web3AuthMfaLevel; uxMode?: Web3AuthMode; }; export declare function init({ clientId, network, mfaLevel, uxMode, }: InitArgs): void; export declare function setCallbacks(callbacks: Partial): void; export declare function authWithProvider(loginProvider: Web3AuthLoginProvider): Promise; export type AuthArgs = { loginProviderWhiteList: Web3AuthLoginProvider[]; }; export declare function auth(args?: AuthArgs): void; export { web3AuthProviderMetadata as loginProviders } from './constants'; export declare const getUserInfo: () => import("./web3auth/types").Web3authUserMetadata | undefined; export * from './web3auth/types'; export * from './wallet/types'; export * from './types'; type AccountLinkStatus = { status: 'initialized' | 'signing' | 'submitting'; } | { status: 'tx_pending' | 'tx_executed' | 'tx_success' | 'tx_fail'; transaction: fcl.TransactionMetadata; }; type LinkAccountArgs = { linkedAccountName: string; linkedAccountDescription: string; clientThumbnailURL: string; clientExternalURL: string; authAccountPathSuffix: string; handlerPathSuffix: string; onLinkAccountStatusChange?: (status: AccountLinkStatus) => void; }; /** * Links web3auth accounts (child account) to regular (nufi/lilico) account, (parent account) * Submits two transactions, first for the child publishing the capability, then parent claiming that capability * Consider this a POC because * - UX should be improved * - two txs replaced with single multisig * - hybrid custody is work in progress, so transaction scripts and arguments will change */ export declare function experimentalLinkAccount(args: LinkAccountArgs): Promise;