import { Connection, PublicKey } from "@solana/web3.js"; import BN from "bn.js"; import { Market } from "./market"; export declare function throwIfNull(value: T | null, message?: string): T; export declare const getMintDecimals: (connection: Connection, mint: PublicKey) => Promise; export declare const getTokenBalance: (connection: Connection, address: PublicKey) => Promise; export declare const divideBnToNumber: (numerator: BN, denominator: BN) => number; export declare const computeFp32Price: (market: Market, uiPrice: number) => BN;