import type { Account, Address, NativeUnits, BaseUnits } from '../types.js'; import type { Abi, Chain as ViemChain, Client } from 'viem'; export type GenerateTransferLinkParams = { /** The recipient address. */ to: Address | Account; /** The amount to transfer. */ amount: NativeUnits | BaseUnits; /** The token address (optional). */ token?: Address | { address: Address; abi?: Abi; } | null; /** The blockchain chain to use (optional, defaults to client's chain). */ chain?: ViemChain; }; /** * Generates a ERC-681 transfer link for a specified recipient and amount. * * @param client - The client instance to use for the operation. * @returns A promise that resolves to the generated transfer link. * * @throws Will throw an error if the contract read operation fails. * * @example * ```typescript * const link = await generateTransferLink(client, { * to: '0xRecipientAddress', * amount: '100', * chain: ETH_SEPOLIA, * token: '0xTokenAddress' * }) * // => 'ethereum:0xRecipientAddress@11155111?value=100&token=0xTokenAddress' * ``` */ export declare function generateTransferLink(client: Client, params: GenerateTransferLinkParams): Promise;