import BN from 'bn.js'; import { Address } from '@solana/kit'; import { Fraction } from '../classes/fraction'; export declare const KVAULT_HOLDINGS_LOG_LAYOUT: { readonly maxReserves: 25; readonly pubkeyBytes: 32; readonly u64Bytes: 8; readonly u128Bytes: 16; readonly investedReserveBytes: 80; readonly holdingsBytes: 2048; }; export type DecodedKvaultInvestedReserve = { index: number; reserve: Address; liquidityAmount: Fraction; ctokenAmount: BN; targetWeight: BN; ctokenCapInLiquidity: Fraction; }; export type DecodedKvaultHoldings = { available: BN; invested: { total: Fraction; allocations: DecodedKvaultInvestedReserve[]; }; totalSum: Fraction; }; export declare function decodeKvaultHoldingsLog(encodedLog: string | Uint8Array): DecodedKvaultHoldings; export declare function formatKvaultHoldingsLog(encodedLog: string | Uint8Array): string; export declare function printKvaultHoldingsLog(encodedLog: string | Uint8Array, logger?: (message: string) => void): string; //# sourceMappingURL=kvaultHoldingsLog.d.ts.map