import { AddressAmount, PaymentSummaryObject, PaymentSummaryStatus } from "../src"; import { TransactionSuccessStatus } from "../src/types"; export declare const expectThrow: (method: any, errorMessage: any) => Promise; export declare function round_for_ltc(input: number): number; export declare function singleAddressAmountEqual(a: AddressAmount, b: AddressAmount): boolean; export declare function AddressAmountEqual(a: AddressAmount[], b: AddressAmount[]): boolean; export declare function throwOrReturnSameGetter(c1: T, c2: T, getter: string): void; export declare function throwOrReturnSameGetterList(c1: T, c2: T, getter: string): void; export declare function throwOrReturnSameGetterBN(c1: T, c2: T, getter: string): void; export declare function throwOrReturnSameGetterAmounts(c1: T, c2: T, getter: string): void; export interface algoTransactionTestCases extends transactionTestCases { block: number; } export interface transactionTestCases { description: string; txid: string; expect: expectTransactionTestCase; makeFull?: boolean; summary: { status: PaymentSummaryStatus; response?: PaymentSummaryObject; }; } export interface expectTransactionTestCase { txid: string; stdTxid: string; hash: string; reference: string[]; stdPaymentReference: string; unixTimestamp: number; sourceAddresses: (string | undefined)[]; sourceAddressesRoot: string; receivingAddresses: (string | undefined)[]; isFeeError: boolean; fee: string; spentAmounts: AddressAmount[]; receivedAmounts: AddressAmount[]; type: string; isNativePayment: boolean; currencyName: string; elementaryUnits: string; successStatus: TransactionSuccessStatus; isOneToOne?: boolean; } /** * Returns truncated file path. * @param file module filename * @returns file path from `test/` on, separated by `'/'` */ export declare function getTestFile(myFile: string): string; export declare function getRandomNumber(min: number, max: number): number; export declare const GETTERS_AMOUNTS: string[]; export declare const GETTERS_LISTS: string[]; export declare const GETTERS_BASIC: string[]; export declare const GETTERS_BN: string[]; //# sourceMappingURL=testUtils.d.ts.map