///
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;
pool: PublicKey;
borrowAuthority: PublicKey;
amountBorrowed: BN;
shareAllowed: BN;
};
export declare class PoolBorrowAuthorityData extends Borsh.Data {
static readonly SCHEMA: any;
accountType: PublicKey;
pool: PublicKey;
borrowAuthority: PublicKey;
amountBorrowed: BN;
shareAllowed: BN;
}
export declare class PoolBorrowAuthority extends Account {
constructor(publicKey: PublicKey, info: AccountInfo);
static getPDA(pool: PublicKey, borrowAuthority: PublicKey): Promise;
static findMany(connection: Connection, filters?: {
pool?: PublicKey;
}): Promise;
}
export {};