import { AccountBridge, Operation, OperationRaw, SwapOperation, SwapOperationRaw, TokenAccount, TransactionCommon } from "@ledgerhq/types-live"; export declare const toOperationRaw: ({ date, value, fee, subOperations, internalOperations, nftOperations, extra, id, hash, type, senders, recipients, blockHeight, blockHash, transactionSequenceNumber, accountId, hasFailed, contract, operator, standard, tokenId, transactionRaw, }: Operation, preserveSubOperation?: boolean, toOperationExtraRaw?: AccountBridge["toOperationExtraRaw"]) => OperationRaw; export declare const inferSubOperations: (txHash: string, subAccounts: TokenAccount[]) => Operation[]; export declare const fromOperationRaw: ({ date, value, fee, extra, subOperations, internalOperations, nftOperations, id, hash, type, senders, recipients, blockHeight, blockHash, transactionSequenceNumber, hasFailed, contract, operator, standard, tokenId, transactionRaw, }: OperationRaw, accountId: string, subAccounts?: TokenAccount[] | null | undefined, fromOperationExtraRaw?: AccountBridge["fromOperationExtraRaw"]) => Operation; export declare function fromSwapOperationRaw(raw: SwapOperationRaw): SwapOperation; export declare function toSwapOperationRaw(so: SwapOperation): SwapOperationRaw; //# sourceMappingURL=operation.d.ts.map