import { INormalizedNumber } from '../../types'; export declare function toNormalizedBn(value: string | bigint | number, decimals?: number | bigint): INormalizedNumber; export declare function getFallbackRpcUrls(chainId: number): string[]; export declare const filterOutBySize: (usdAmount: number) => boolean; export declare function toTitleCase(str: string, type?: 'camel'): string; export declare function truncate(s: string, amount?: number): string; export declare function round(value: number | string | bigint, options?: { showing?: number | 'all'; usd?: boolean; decimals?: number; }): string; export declare function loanStateToReadable(loanState: number | bigint): "PREAPPROVED" | "FUNDING_REQUIRED" | "FUNDED" | "ACTIVE" | "CANCELLED" | "MATURED" | "CLOSED"; export declare function dateToUnix(date: Date): number; export declare function unixToDate(epoch: number): Date; export declare function isEarlierThanNow(startTime: Date): boolean; export declare function daysAgo(days: number): Date; export declare function prepareDateForDb(date: string | Date): string; export declare function orderObjArrByDate(objectArray: any[], options?: { key?: string; order?: 'asc' | 'desc'; }): any[]; export declare function calculateWeights(data?: Array, weightProperty?: string): any[]; export declare function calculateWeightedAverage(data?: Array, valueProperty?: string, weightProperty?: string): any;