import type { Account, OperationType } from "@ledgerhq/types-live";
import { BigNumber } from "bignumber.js";
import { type AccountInfo } from "../logic/utils";
import type { BandwidthInfo, NetworkInfo, Transaction, TronAccount, TrongridTxInfo, TronOperation, TronOperationMode, TronResources } from "../types";
export declare const isParentTx: (tx: TrongridTxInfo) => boolean;
export declare const getEstimatedBlockSize: (a: Account, t: Transaction) => BigNumber;
export declare const getOperationTypefromMode: (mode: TronOperationMode) => OperationType;
export declare const txInfoToOperation: (id: string, address: string, tx: TrongridTxInfo) => TronOperation | null | undefined;
export declare const extractBandwidthInfo: (networkInfo: NetworkInfo | null | undefined) => BandwidthInfo;
export declare const defaultTronResources: TronResources;
export declare function getTronResources(acc: AccountInfo & {
    address: string;
}, txs?: TrongridTxInfo[]): Promise<TronResources>;
export declare function isAccountEmpty({ tronResources }: Pick<TronAccount, "tronResources">): boolean;
//# sourceMappingURL=utils.d.ts.map