/// import { AccountInfo, Commitment, PublicKey, Connection } from '@safecoin/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): T; 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; }>; static getInfos(connection: Connection, pubkeys: AnyPublicKey[], commitment?: Commitment): Promise>>; private static getMultipleAccounts; assertOwner(pubkey: AnyPublicKey): boolean; toJSON(): { pubkey: string; info: { executable: boolean; owner: PublicKey; lamports: number; data: { type: "Buffer"; data: number[]; }; }; data: T; }; toString(): string; }