import { BN } from "@coral-xyz/anchor";
import { PublicKey } from "@solana/web3.js";
import { BigNumber } from "ethers";
/**
 * Converts an integer to a 32-byte Uint8Array.
 */
export declare function intToU8Array32(num: number | BN): number[];
/**
 * Converts a 32-byte Uint8Array to a bigint.
 */
export declare function u8Array32ToInt(u8Array: Uint8Array | number[]): bigint;
/**
 * Converts a 32-byte Uint8Array to a BigNumber.
 */
export declare function u8Array32ToBigNumber(u8Array: Uint8Array | number[]): BigNumber;
/**
 * Converts a string to a PublicKey.
 */
export declare function strPublicKey(publicKey: PublicKey): string;
/**
 * Converts an EVM address to a Solana PublicKey.
 */
export declare const evmAddressToPublicKey: (address: string) => PublicKey;
/**
 * Converts a Solana PublicKey to an EVM address.
 */
export declare const publicKeyToEvmAddress: (publicKey: PublicKey | string) => string;
/**
 * Converts a base58 string to a bytes32 string.
 */
export declare const fromBase58ToBytes32: (input: string) => string;
/**
 * Converts a bytes32 string to an EVM address.
 */
export declare const fromBytes32ToAddress: (input: string) => string;
/**
 * Converts EVM or SVM address to a bytes32 string.
 */
export declare const addressOrBase58ToBytes32: (input: string) => string;
