import type { Address } from "@solana/kit"; import { type FeeConfiguration } from "../generated"; import type { ExtensionsRpc } from "./rpc"; /** * Total management fee in BPS — sum of manager + admin + protocol, matching * the program's `Vault::get_total_fee_configuration_management_fee`. */ export declare function getTotalManagementFeeBps(feeConfiguration: FeeConfiguration): number; /** * Returns the on-chain "asset per LP" ratio used by mint/burn math: total * asset value divided by `total_lp_supply_incl_fees + unrealised management * fee LP`. Mirrors what the deposit/withdraw handlers see after they call * `handle_management_fee`. Returns 0 when there is no LP at all. */ export declare function getCurrentAssetPerLpForVault(rpc: ExtensionsRpc, vault: Address): Promise; export type VaultLpSupplyBreakdown = { circulating: bigint; unharvestedFees: bigint; deadWeight: bigint; unrealisedFees: bigint; total: bigint; }; export declare function getVaultLpSupplyBreakdown(rpc: ExtensionsRpc, vault: Address): Promise; export declare function calculateAssetsForWithdraw(rpc: ExtensionsRpc, vault: Address, lpAmount: bigint): Promise; export declare function calculateLpForWithdraw(rpc: ExtensionsRpc, vault: Address, assetAmount: bigint): Promise; export declare function calculateLpForDeposit(rpc: ExtensionsRpc, vault: Address, assetAmount: bigint): Promise; //# sourceMappingURL=lpEconomics.d.ts.map