import { Connection, Keypair, PublicKey, Transaction } from '@solana/web3.js'; import BN from 'bn.js'; export declare type ActionResult = { tx: Transaction; keypairs?: Record; }; export declare type ActionOptions = { connection: Connection; payerPublicKey: PublicKey; }; export declare const initPoolMarket: ({ connection, payerPublicKey }: ActionOptions, poolMarket?: Keypair) => Promise; export declare const createPool: ({ connection, payerPublicKey }: ActionOptions, poolMarket: PublicKey, tokenMint: PublicKey, tokenAccount?: Keypair, poolMint?: Keypair) => Promise; export declare const deposit: ({ connection, payerPublicKey }: ActionOptions, pool: PublicKey, amount: BN, source: PublicKey, destination?: PublicKey) => Promise; export declare const withdraw: ({ connection, payerPublicKey }: ActionOptions, pool: PublicKey, amount: BN, source: PublicKey, destination?: PublicKey) => Promise; export declare const borrow: ({ connection, payerPublicKey }: ActionOptions, pool: PublicKey, amount: BN, destination?: PublicKey) => Promise; export declare const repay: ({ connection, payerPublicKey }: ActionOptions, pool: PublicKey, amount: BN, interestAmount: BN, source: PublicKey) => Promise;