import { type MarketParams } from "@morpho-org/blue-sdk"; import type { Address } from "viem"; import { type DepositAmountArgs, type MarketV1SupplyCollateralAction, type Metadata, type RequirementSignature, type Transaction } from "../../types"; /** Parameters for {@link marketV1SupplyCollateral}. */ export interface MarketV1SupplyCollateralParams { market: { readonly chainId: number; readonly marketParams: MarketParams; }; args: DepositAmountArgs & { onBehalf: Address; requirementSignature?: RequirementSignature; }; metadata?: Metadata; } /** * Prepares a supply-collateral transaction for a Morpho Blue market. * * Routed through bundler via GeneralAdapter1. * When `nativeAmount` is provided, native token is wrapped via GeneralAdapter1. * Collateral token must be the chain's wNative when `nativeAmount` is used. * * Zero loss: all collateral reaches Morpho. No dust left in bundler or adapter. * * @param params - Supply collateral parameters. * @returns Deep-frozen transaction. */ export declare const marketV1SupplyCollateral: ({ market: { chainId, marketParams }, args: { amount, onBehalf, requirementSignature, nativeAmount }, metadata, }: MarketV1SupplyCollateralParams) => Readonly>;