import TransactionType from './types/TransactionType'; /** * Turns a string TransactionType into an enum TransactionType. * * @throws Throws an error if the given transaction type is not valid. * @param input - The transaction type. * * @returns The transaction type as an enum. */ export declare function validateTransactionType(input: string): TransactionType; /** * Takes a hex string and decodes it into Ascii. * * @param input - The hex input. * @returns The ascii string. */ export declare function hexToAscii(input: string): string; /** * Converts a time into a human readable string. * The time is given as the number of seconds after the Ripple epoch. * * @param time - The number of seconds after the Ripple epoch. * @returns The time as a UTC time string. */ export declare function parseDate(time: number): string; /** * Turn a number into a rank. E.g.: * 1 => 1st * 2 => 2nd * 3 => 3rd * 4 => 4th * etc. * * @param num - The number. * @returns Result. */ export declare function numberToRankString(num: number): string; //# sourceMappingURL=util.d.ts.map