export interface HederaExtensionData { id: string; name: string; icon: string; } /** * Helper class to interact with WalletConnect-compatible Hedera browser extensions. * * The class is responsible for: * - Finding available extensions * - Validating extension compatibility * - Connecting to the extension * - Opening the extension popup for signing upon request */ export declare abstract class HederaExtensionHelper { static findExtensions(): Promise; static extensionConnect(id: string, pairingString: string): void; static extensionOpen(id: string): void; static extensionQuery(): void; static validateExtension(extension: any): extension is HederaExtensionData; } /** * Parses a Hedera account ID to an EVM address. * * Hedera Account IDs are in the format of `..`. * Example: `0.0.1234`: * - Shard: `0` * - Realm: `0` * - Account number: `1234` * * We can derive an EVM-compatible address of a Hedera account ID * by hex-encoding the account number and prefixing it with zeros up to 40 characters. * * This is called "account-num alias" and can be used to interact * with the Hedera network using standard EVM wallets. * * @see https://hips.hedera.com/hip/hip-583 */ export declare function convertHederaAccountIdToEvmAddress(accId: string): string; /** * Converts an EVM address (account-num alias) to a Hedera account ID. * * Follows the inverse logic of {@link convertHederaAccountIdToEvmAddress} * by converting the hex-encoded account number to a decimal number */ export declare function convertEvmAddressToHederaAccountId(address: string): string; export declare function scaleHbarToWei(hbar: bigint): bigint; export declare function scaleWeiToHbar(wei: bigint): bigint;