///
import type { Provider, TransactionEnvelope, TransactionReceipt } from "@saberhq/solana-contrib";
import type { AccountInfo } from "@solana/spl-token";
import type { AccountInfo as BaseAccountInfo, PublicKey, Signer } from "@solana/web3.js";
import { Connection, Keypair } from "@solana/web3.js";
import BN from "bn.js";
import { QuarrySDK } from "../src/sdk";
import type { TokenInfo } from "./tokenList";
export declare function keypairFromFile(path: string): Keypair;
export declare function loadProvider(): Provider;
export declare function makeSDK(): QuarrySDK;
export declare function getSigner(): Signer;
export declare function currentTs(connection: Connection): Promise;
export declare function printObjectTable(ins?: any): void;
export declare function printObjectJSON(ins?: any, maxDeep?: number): void;
export declare function getTokenAccountsByOwner(conn: Connection, owner: PublicKey): Promise>;
export declare function getTokenAccountsByOwnerAndMint(conn: Connection, owner: PublicKey, mint: PublicKey): Promise>;
export declare function deserializeTokenAccount(accountInfo: {
pubkey: PublicKey;
account: BaseAccountInfo;
}): AccountInfo;
export declare function catchFinallyExit(pending: Promise): void;
export declare function confirmTx(tx: TransactionEnvelope): Promise;
export declare function receiptLog(receipt: TransactionReceipt): {
signature: string;
computeUnits: number;
blockTime: number | null | undefined;
solt: number;
};
export declare function mustGetTokenInfo(address: PublicKey): TokenInfo;
//# sourceMappingURL=utils.d.ts.map