import { NeverPad } from "./idl/never_pad"; import { BN, Program, web3 } from "@coral-xyz/anchor"; import { Marginfi } from "./idl/margin"; type ReturnAnchorProgram = (programId: web3.PublicKey, connection: web3.Connection) => Program; export declare const returnAnchorProgram: ReturnAnchorProgram; type ReturnMarginProgram = (programId: web3.PublicKey, connection: web3.Connection) => Program; export declare const returnMarginProgram: ReturnMarginProgram; export declare function makeWrapSolIxs(walletAddress: web3.PublicKey, amount: BN): web3.TransactionInstruction[]; export declare function makeUnwrapSolIx(walletAddress: web3.PublicKey): web3.TransactionInstruction; export declare const anchorRawBNsAndPubkeysToNumsAndStrings: (rawAccount: any) => any; export declare const parseRawAccount: (rawAccount: any) => any; export declare const nowInSeconds: () => number; export declare const enumToAnchorEnum: (anyEnum: any) => { [x: number]: {}; }; export declare const calculatePriorityFees: (connection: web3.Connection) => Promise; export declare function createAndSendV0Tx(txInstructions: web3.TransactionInstruction[], connection: web3.Connection, signers: web3.Signer[]): Promise; export {};