import Prando from "prando"; import { BigNumber } from "bignumber.js"; import type { CryptoCurrency, TokenCurrency } from "../types"; import type { Account, AccountLike, Operation, TokenAccount } from "@ledgerhq/types-live"; export declare function ensureNoNegative(operations: Operation[]): BigNumber; /** * @memberof mock/account */ export declare function genOperation(superAccount: Account, account: AccountLike, ops: any, rng: Prando): Operation; /** * @param id is a number or a string, used as an account identifier and as a seed for the generation. * @memberof mock/account */ export type GenAccountOptions = { operationsSize?: number; currency?: CryptoCurrency; subAccountsCount?: number; swapHistorySize?: number; withNft?: boolean; tokenIds?: string[]; bandwidth?: boolean; tokensData?: TokenCurrency[]; }; export declare function genTokenAccount(index: number, account: Account, token: TokenCurrency): TokenAccount; type GenAccountEnhanceOperations = (account: Account, currency: CryptoCurrency, rng: Prando) => void; export declare function genAccount(id: number | string, opts?: GenAccountOptions, completeResources?: (account: Account, currency: CryptoCurrency, address: string) => void, genAccountEnhanceOperations?: GenAccountEnhanceOperations): Account; export {}; //# sourceMappingURL=account.d.ts.map