import { AssetAccount } from './asset/assetAccount'; import { Checksum } from './types/checksum'; /** * Energy account for tracking a member's microjoule balance. * * Extends {@link AssetAccount} with `assetId = 'joule'` and provides the * legacy `netEnergy` alias and `createWithTrialCredits` factory retained for * backward compatibility. */ export declare class EnergyAccount extends AssetAccount { constructor(memberId: Checksum, createdAt?: Date, balance?: bigint, earned?: bigint, spent?: bigint, reserved?: bigint, reputation?: number, lastUpdated?: Date); /** Create a new account pre-loaded with trial credits. */ static createWithTrialCredits(memberId: Checksum): EnergyAccount; /** * Net energy = earned − spent. * @deprecated Use {@link netAsset}. */ get netEnergy(): bigint; /** Override to return a typed {@link EnergyAccount} instance. */ static fromDto(dto: Record): EnergyAccount; /** Override to return a typed {@link EnergyAccount} instance. */ static fromJson(json: string): EnergyAccount; } //# sourceMappingURL=energyAccount.d.ts.map