import BN from "bn.js"; /** * Safely convert BN to number, throws if exceeds MAX_SAFE_INTEGER */ export declare function safeToNumber(bn: BN, context?: string): number; /** * Convert lamports to SOL (safe conversion) */ export declare function lamportsToSol(lamports: BN): number; /** * Convert cents to dollars */ export declare function centsToDollars(cents: BN): number; /** * Convert timestamp BN to Date */ export declare function timestampToDate(timestamp: BN): Date; /** * Check if timestamp has passed */ export declare function isTimestampPassed(timestamp: BN): boolean; /** * Convert WAD to float for display */ export declare function wadToFloat(wad: BN): number; //# sourceMappingURL=conversions.d.ts.map