/// import { AccountInfo, Connection, PublicKey } from '@solana/web3.js'; import BN from 'bn.js'; import { Buffer } from 'buffer'; import { Account, Borsh } from '@everlend/common'; declare type Args = { accountType: PublicKey; poolMarket: PublicKey; tokenMint: PublicKey; tokenAccount: PublicKey; poolMint: PublicKey; totalAmountBorrowed: BN; }; export declare class PoolData extends Borsh.Data { static readonly SCHEMA: any; accountType: PublicKey; poolMarket: PublicKey; tokenMint: PublicKey; tokenAccount: PublicKey; poolMint: PublicKey; totalAmountBorrowed: BN; } export declare class Pool extends Account { constructor(publicKey: PublicKey, info: AccountInfo); static getPDA(poolMarket: PublicKey, tokenMint: PublicKey): Promise; static findMany(connection: Connection, filters?: { poolMarket?: PublicKey; }): Promise; } export {};