///
import { Connection, PublicKey, TransactionInstruction } from "@solana/web3.js";
import { TokenInfo, TokenList } from "../types/types";
import { Wallet } from "@project-serum/anchor";
export declare function findProgramAddress(seeds: Array, programId: PublicKey): Promise<{
publicKey: PublicKey;
nonce: number;
}>;
export declare function createAmmAuthority(programId: PublicKey): Promise<{
publicKey: PublicKey;
nonce: number;
}>;
export declare function getBigNumber(num: any): number;
export declare function coinInfo(coinInfo: any): TokenInfo;
export declare function findCoinFrom(tokenList: Array, symbolOrMint: string): any;
export declare function fetchUserOpenOrders(tokenList: TokenList, connection: Connection, publicKey: PublicKey): Promise;
export declare function sendCustomTransaction(connection: Connection, wallet: Wallet, allInstructions: Array>): Promise;
export declare function closeOpenOrdersForUser(prism: any, openOrders: Array): Promise;
export declare function unwrapWSolAccounts(prism: any): Promise;
export declare function fetchUserAccounts(tokenList: TokenList, connection: Connection, publicKey: PublicKey): Promise;
export declare function fetchUserAccountsAndTokenList(tokenList: TokenList, connection: Connection, publicKey: PublicKey): Promise<{
accounts: any;
tokenList: TokenList;
}>;
export declare function unKnownSerumMarket(mintA: string, mintB: string, knownPairs: any, option: any): boolean;
export declare function getUserHistoty(pubkey: PublicKey): Promise;
export declare const getGlobalStats: () => Promise;