/** * Balance data model for the Kalshi JavaScript SDK. */ import { BalanceData } from '../types'; export declare class Balance { readonly balance: number; readonly payout: number; readonly fees: number; readonly availableBalance: number; readonly pendingBalance: number; private readonly _rawData; constructor(data: BalanceData); /** * Get balance in dollars (converted from cents). */ get balanceDollars(): number; /** * Get available balance in dollars (converted from cents). */ get availableBalanceDollars(): number; /** * Get pending balance in dollars (converted from cents). */ get pendingBalanceDollars(): number; /** * Get payout in dollars (converted from cents). */ get payoutDollars(): number; /** * Get fees in dollars (converted from cents). */ get feesDollars(): number; /** * Check if there's sufficient balance for a trade. */ hasSufficientBalance(amount: number): boolean; /** * Get the percentage of balance that is available. */ get availablePercentage(): number; /** * Get the raw data from the API response. */ get rawData(): BalanceData; /** * Convert the Balance instance to a plain object. */ toJSON(): Record; /** * String representation of the balance. */ toString(): string; }