///
import { Account } from "@solana/spl-token";
import { AccountInfo, Connection, PublicKey } from "@solana/web3.js";
import { UpdateMarkVolEvent, UpdateSkewEvent } from "../../types";
import { SdxClient } from "../SdxClient";
/**
* Fetches the value of a token account, in raw decimals.
* If an invalid account is passed in, 0 is returned.
*
* @param {Connection} connection - The connection to use.
* @param {PublicKey | undefined} account - The account to fetch the value from.
* @returns {Promise} A promise that resolves to the token account value.
*/
export declare const fetchTokenAccountValue: (connection: Connection, account: PublicKey | undefined) => Promise;
/**
* Fetches the value of multiple token accounts, in raw decimals.
* If an invalid account is passed in, 0 is returned.
*
* @param {Connection} connection - The connection to use.
* @param {PublicKey[]} accounts - The accounts to fetch the value for.
* @returns {Promise} A promise that resolves to the token account values.
*/
export declare const fetchMultipleTokenAccountValues: (connection: Connection, accounts: PublicKey[]) => Promise;
/**
* Fetches the account info of multiple token accounts.
* If an invalid account is passed in, null is returned.
*
* @param {Connection} connection - The connection to use.
* @param {PublicKey[]} accounts - The accounts to fetch the value for.
* @returns {Promise} A promise that resolves to the token account info.
*/
export declare const fetchMultipleTokenAccountInfo: (connection: Connection, accounts: PublicKey[]) => Promise;
export declare const decodeOptionChain: (data: Buffer) => any;
export declare const decodeVolatilityFeed: (data: Buffer) => any;
export declare const decodeOptionVault: (data: Buffer) => any;
export declare const decodeTradingAccount: (data: Buffer) => any;
export declare const decodeEuroMeta: (data: Buffer) => any;
export declare const decodeEvent: (sdxClient: SdxClient, type: string, log: string) => UpdateSkewEvent | UpdateMarkVolEvent | {
currentTime: number;
priceInserted: number;
isVolShock: boolean;
};
export declare const fetchMultipleAccounts: (connection: Connection, keys: PublicKey[], accountsToLoadPerCall?: number) => Promise[]>;
//# sourceMappingURL=accounts.d.ts.map