///
import { AccountInfo, Commitment, PublicKey, Connection } from '@solana/web3.js';
import { AnyPublicKey } from '../types';
import { Buffer } from 'buffer';
export declare type AccountConstructor = {
new (pubkey: AnyPublicKey, info: AccountInfo): T;
};
export declare class Account {
readonly pubkey: PublicKey;
readonly info?: AccountInfo;
data?: T;
constructor(pubkey: AnyPublicKey, info?: AccountInfo);
static from(this: AccountConstructor, account: Account): Account;
static load(this: AccountConstructor, connection: Connection, pubkey: AnyPublicKey): Promise;
static isCompatible(_data: Buffer): boolean;
static getInfo(connection: Connection, pubkey: AnyPublicKey): Promise<{
data: Buffer;
executable: boolean;
owner: PublicKey;
lamports: number;
rentEpoch?: number | undefined;
}>;
static getInfos(connection: Connection, pubkeys: AnyPublicKey[], commitment?: Commitment): Promise