import { type ethers } from "ethers"; import { type ContractProvider } from "../../utils"; import type { ERC4626VaultState } from "./ERC4626Adapters"; import type { DeployAdapterResult } from "./GlobalAdapters"; export declare function deployERC4626MerklAdapter(cp: ContractProvider, vaultAddress: string, erc4626Vault: string): Promise; export declare function isERC4626MerklAdapter(cp: ContractProvider, account: string): Promise; export declare function findERC4626MerklAdapter(cp: ContractProvider, vaultAddress: string, erc4626Vault: string): Promise; export declare function getIds(contract: ethers.Contract): Promise; /** Read the on-chain `adapterId` (bytes32) baked into the deployed adapter. */ export declare function getAdapterId(contract: ethers.Contract): Promise; export declare function getUnderlying(contract: ethers.Contract): Promise; /** Read the live state of the underlying ERC-4626 vault. */ export declare function getVaultState(contract: ethers.Contract): Promise; export declare function getMerklDistributor(contract: ethers.Contract): Promise; export declare function getClaimer(contract: ethers.Contract): Promise; export declare function getSkimRecipient(contract: ethers.Contract): Promise; /** * Vault-side tracked allocation for this adapter's id. Lazy: only resynced * to the real position on (de)allocate, so it excludes interest/losses * accrued since the last interaction. Use the type-agnostic * `GlobalAdapters.getRealAssets` for the live value. */ export declare function getAllocation(contract: ethers.Contract): Promise; /** Pull rewards from the Merkl distributor; `data` is the abi-encoded claim parameters. */ export declare function claim(contract: ethers.Contract, data: string): Promise; export declare function setClaimer(contract: ethers.Contract, newClaimer: string): Promise; export declare function setSkimRecipient(contract: ethers.Contract, newSkimRecipient: string): Promise; export declare function skim(contract: ethers.Contract, token: string): Promise;