export { UPClientProvider, UPClientProviderEvents, createClientUPProvider } from './client.js'; export { UPClientChannel, UPClientChannelEvents, UPProviderConnector, UPProviderConnectorEvents, UPProviderEndpoint, UPProviderEndpointEvents, createUPProviderConnector, getUPProviderChannel } from './server.js'; export { ModalPopup, createWalletPopup } from './popup.js'; import 'eventemitter3'; import 'json-rpc-2.0'; /** * Small helper function to compare two arrays of addresses. * This allow null, undefined, or empty strings to be considered the same. * @param _addresses1 - array 1 * @param _addresses2 - array 2 * @returns Returns true if there were changes between the two arrays. */ declare const arrayChanged: (_addresses1?: Array<`0x${string}` | string | null | undefined>, _addresses2?: Array<`0x${string}` | string | null | undefined>) => boolean; /** * Cleanup accounts array so there are no sparse values (i.e. empty values in the middle, this is not compatible * with many of the web3 libraries (web3.js and viem)). * @param values - original array * @returns Returns copy of array which makes 0x00..., null, undefined and empty string mark the end of the array * This is useful for cleaning up the array of accounts. */ declare const cleanupAccounts: (values: Array<`0x${string}` | undefined>) => `0x${string}`[]; export { arrayChanged, cleanupAccounts };