import { PublicKey } from "@solana/web3.js"; export interface WithdrawalCaps { configCapacity: bigint; currentTotal: bigint; lastIntervalStartTimestamp: bigint; configIntervalLengthSeconds: bigint; } export declare const WITHDRAWAL_CAPS_LEN = 32; export declare function decodeWithdrawalCaps(slice: Uint8Array): WithdrawalCaps; export declare const RESERVE_LEN = 8624; export declare const RESERVE_DISCRIMINATOR: Uint8Array; export declare const BORROW_RATE_CURVE_LEN = 88; export interface KlendState { version: bigint; lastUpdateSlot: bigint; lastUpdateTimestamp: bigint; lendingMarket: PublicKey; mintPubkey: PublicKey; supplyVault: PublicKey; totalAvailableAmount: bigint; borrowedAmountSf: bigint; marketPriceLastUpdatedTs: bigint; mintDecimals: bigint; cumulativeBorrowRateBsf: bigint[]; accumulatedProtocolFeesSf: bigint; accumulatedReferrerFeesSf: bigint; pendingReferrerFeesSf: bigint; absoluteReferralRateSf: bigint; liquidityTokenProgram: PublicKey; collateralMintPubkey: PublicKey; collateralMintTotalSupply: bigint; status: number; blockCtokenUsage: boolean; emergencyMode: boolean; hostFixedInterestRateBps: number; protocolTakeRatePct: number; interestRateBasis: number; borrowRateCurve: Uint8Array; depositLimit: bigint; maxAgePriceSeconds: bigint; depositWithdrawalCap: WithdrawalCaps; debtWithdrawalCap: WithdrawalCaps; queuedCollateralAmount: bigint; scopePriceFeed: PublicKey; switchboardPriceAggregator: PublicKey; switchboardTwapAggregator: PublicKey; pythPrice: PublicKey; } export declare function emptyKlendState(): KlendState; export declare function decodeKlendReserve(data: Uint8Array): KlendState; export declare const KLEND_PROGRAM_VERSION = 1n; export declare function isKlendActive(state: KlendState): boolean;