import { BigDecimalish } from '@nadohq/utils'; import { WithContract } from '../common/types/nadoContractTypes.cjs'; import { WriteableContractInstance } from '../common/types/viemTypes.cjs'; import { ERC20_ABI } from '../common/abis/ERC20.cjs'; import '../common/nadoAbis.cjs'; import 'viem'; interface ApproveDepositAllowanceParams { amount: BigDecimalish; tokenContract: WriteableContractInstance; } /** * Approves the endpoint contract to spend the amount of tokens specified */ declare function approveDepositAllowance({ endpoint, amount, tokenContract, }: WithContract<'endpoint', ApproveDepositAllowanceParams>): Promise<`0x${string}`>; export { type ApproveDepositAllowanceParams, approveDepositAllowance };