import { c as AccountFlags$1, e as AccountMeta$1, a as AccountData$1, C as ConsensusStatus, A as Account$1 } from './account_pb-nVy1q-D5.js'; import { P as Pubkey } from './Pubkey-XQyhLL1t.js'; interface AccountFlagsData { isProgram: boolean; isPrivileged: boolean; isUncompressable: boolean; isEphemeral: boolean; isDeleted: boolean; isNew: boolean; isCompressed: boolean; } declare class AccountFlags implements AccountFlagsData { readonly isProgram: boolean; readonly isPrivileged: boolean; readonly isUncompressable: boolean; readonly isEphemeral: boolean; readonly isDeleted: boolean; readonly isNew: boolean; readonly isCompressed: boolean; constructor(flags?: Partial); static fromProto(flags?: AccountFlags$1): AccountFlags; } declare class AccountMeta { readonly version: number; readonly flags: AccountFlags; readonly dataSize: number; readonly seq: bigint; readonly owner?: Pubkey; readonly balance: bigint; readonly nonce?: bigint; constructor(params: { version: number; flags?: AccountFlags; dataSize: number; seq: bigint; owner?: Pubkey; balance: bigint; nonce?: bigint; }); static fromProto(meta?: AccountMeta$1): AccountMeta | undefined; } declare class AccountData { readonly data?: Uint8Array; readonly compressed: boolean; readonly compressionAlgorithm?: string; constructor(params: { data?: Uint8Array; compressed?: boolean; compressionAlgorithm?: string; }); static fromProto(data?: AccountData$1): AccountData | undefined; } interface AccountVersionContext { slot?: bigint; blockTimestampNs?: bigint; /** Per-account sequence number of the returned version, when known. */ seq?: bigint; /** Block offset of the transaction that wrote the returned version, when known. */ blockOffset?: number; } declare class Account { readonly address: Pubkey; readonly meta?: AccountMeta; readonly data?: AccountData; readonly versionContext?: AccountVersionContext; readonly consensusStatus?: ConsensusStatus; constructor(params: { address: Pubkey; meta?: AccountMeta; data?: AccountData; versionContext?: AccountVersionContext; consensusStatus?: ConsensusStatus; }); static fromProto(proto: Account$1): Account; } export { Account as A, AccountMeta as a };