import type { AccountId } from "../types/common.js"; /** * Transfer message type for storage account calculation */ export type TransferMessageForStorage = { token: string; amount: bigint; recipient: string; fee: { fee: bigint; native_fee: bigint; }; sender: string; msg: string; }; /** * Calculates the storage account ID for a transfer message * * This function replicates the Rust implementation: * 1. Serializes the transfer message using Borsh * 2. Hashes the serialized data with SHA256 * 3. Converts the hash to hex to create an implicit NEAR account ID * * @param transferMessage - The transfer message data with bigint amounts * @returns The calculated storage account ID as a hex string */ export declare function calculateStorageAccountId(transferMessage: TransferMessageForStorage): AccountId; //# sourceMappingURL=storage.d.ts.map