import { AUTH_CONNECTION_TYPE, CUSTOM_AUTH_CONNECTION_TYPE } from "@web3auth/auth"; /** * Return the Halliday onramp endpoint URL and a message handler for no-login flow * * @param {string} apiKey Your Halliday API key, e.g. 2743c3a8-5ad7-4215-a3ea-bf84b710a849 * @param {string} verifierClientId Your verifier client ID, provided to you by the Halliday team * @param {string} destinationCryptoType The type of crypto to onramp, e.g. ETH, BTC * @param {string} destinationBlockchainType The blockchain to onramp to, e.g. ethereum, bitcoin * @param {string} inGamePlayerId Optional - if not provided, the user's non-custodial wallet address will be used. Required if using no-login flow * @param {boolean} useSandbox Optional - if not provided, defaults to false * @param {string} loggedInEmail The email the user should log in with * @param {AUTH_CONNECTION_TYPE | CUSTOM_AUTH_CONNECTION_TYPE} typeOfLogin The type of login to use, e.g. google, twitter, jwt * @param {string} destinationAddress The user's smart account address, where the onramped crypto should be sent. If using no login * and passing in the sessionKeySignerCallback, this must be the address that the session key will be signed by. * @param {Function} sessionKeySignerCallback Optional, Required for no login, a callback function that signs with the user's signer * @param {Function} onrampStatusCallback Optional, a callback function to receive onramp status updates. The callback will receive an object with 2 fields: * 'updateType' - a string representing the onramp update type, and 'onramp' - the object which contains the information about the onramp * @param {boolean} onrampToEOA Optional, feature flag for onramping to an EOA */ export declare function getHallidayReactNativeOnramp({ apiKey, verifierClientId, destinationCryptoType, destinationBlockchainType, inGamePlayerId, useSandbox, loggedInEmail, typeOfLogin, destinationAddress, sessionKeySignerCallback, onrampStatusCallback, onrampToEOA, }: { apiKey: string; verifierClientId: string; destinationCryptoType: string; destinationBlockchainType: string; inGamePlayerId?: string; useSandbox?: boolean; loggedInEmail?: string; typeOfLogin?: AUTH_CONNECTION_TYPE | CUSTOM_AUTH_CONNECTION_TYPE; destinationAddress?: string; sessionKeySignerCallback?: (sessionKeyBytesHex: Uint8Array) => Promise; onrampStatusCallback?: ({ updateType, onramp }: { updateType: string; onramp: any; }) => void; onrampToEOA?: boolean; }): { url: string; handleMessage: (webViewRef: React.RefObject, event: any) => Promise; initiateAuthentication: () => void; };