import type { Address, MarketId } from "../types.js"; import type { Pending } from "./Vault.js"; /** Plain input shape for a vault's configuration on one Morpho Blue market. */ export interface IVaultMarketConfig { vault: Address; marketId: MarketId; cap: bigint; pendingCap: Pending; removableAt: bigint; enabled: boolean; } /** Represents a vault's configuration on one Morpho Blue market. */ export declare class VaultMarketConfig implements IVaultMarketConfig { /** * The vault's address. */ readonly vault: Address; /** * The market's id. */ readonly marketId: MarketId; /** * The maximum amount of tokens that can be allocated to this market. */ cap: bigint; /** * The pending maximum amount of tokens that can be allocated to this market. */ pendingCap: Pending; /** * The timestamp at which the market can be removed from the withdraw queue. */ removableAt: bigint; /** * Whether this market is enabled, i.e. whether additional tokens can be allocated to it. */ enabled: boolean; constructor({ vault, marketId, cap, pendingCap, removableAt, enabled, }: IVaultMarketConfig); }