import { CollectionInfoView, DepositView, LiquidationLotView, LoanView, PriceBasedLiquidityPoolView, TimeBasedLiquidityPoolView } from '../types';
import { PublicKey, Connection, ParsedTransactionWithMeta } from '@solana/web3.js';
export interface AccountsChanged {
    collectionInfos: CollectionInfoView[];
    deposits: DepositView[];
    timeBasedLiquidityPools: TimeBasedLiquidityPoolView[];
    priceBasedLiquidityPools: PriceBasedLiquidityPoolView[];
    loans: LoanView[];
    liquidationLots: LiquidationLotView[];
}
export interface TransactionAccountParserParams {
    transaction: ParsedTransactionWithMeta;
    programId: PublicKey;
    connection: Connection;
}
export declare const LOAN_STATE_PRIORITY: {
    proposed: number;
    rejected: number;
    activated: number;
    paidBack: number;
    liquidated: number;
    paidBackWithGrace: number;
};
export declare const harvestCount: ({ programId, timeoutOfCalls, fromThisSignature, connection, }: {
    programId: PublicKey;
    timeoutOfCalls?: number | undefined;
    fromThisSignature?: string | undefined;
    connection: Connection;
}) => Promise<never>;
