import * as _ from 'lodash'; import * as common from '../common'; import { Connection } from '../common'; import { FormattedTransactionType } from '../transaction/types'; import { Issue } from '../common/types/objects'; import { RippleAPI } from '..'; export declare type RecursiveData = { marker: string; results: Array; }; export declare type Getter = (marker?: string, limit?: number) => Promise; declare function clamp(value: number, min: number, max: number): number; declare function getXRPBalance(connection: Connection, address: string, ledgerVersion?: number): Promise; declare function getRecursive(getter: Getter, limit?: number): Promise>; declare function renameCounterpartyToIssuer(obj: T & { counterparty?: string; issuer?: string; }): T & { issuer?: string; }; export declare type RequestBookOffersArgs = { taker_gets: Issue; taker_pays: Issue; }; declare function renameCounterpartyToIssuerInOrder(order: RequestBookOffersArgs): RequestBookOffersArgs & _.Dictionary; declare function compareTransactions(first: FormattedTransactionType, second: FormattedTransactionType): number; declare function hasCompleteLedgerRange(connection: Connection, minLedgerVersion?: number, maxLedgerVersion?: number): Promise; declare function isPendingLedgerVersion(connection: Connection, maxLedgerVersion?: number): Promise; declare function ensureLedgerVersion(this: RippleAPI, options: any): Promise; export { getXRPBalance, ensureLedgerVersion, compareTransactions, renameCounterpartyToIssuer, renameCounterpartyToIssuerInOrder, getRecursive, hasCompleteLedgerRange, isPendingLedgerVersion, clamp, common }; //# sourceMappingURL=utils.d.ts.map