import type { Account, AccountRaw, AccountUserData, BalanceHistory, BalanceHistoryRaw, Operation, OperationRaw, TokenAccount } from "@ledgerhq/types-live"; export declare function toBalanceHistoryRaw(b: BalanceHistory): BalanceHistoryRaw; export declare const toOperationRaw: (operation: Operation, preserveSubOperation?: boolean) => OperationRaw; export declare const fromOperationRaw: (operationRaw: OperationRaw, accountId: string, subAccounts?: TokenAccount[] | null | undefined) => Operation; export declare function fromAccountRaw(rawAccount: AccountRaw): Promise; export declare function toAccountRaw(account: Account, userData?: AccountUserData): AccountRaw; //# sourceMappingURL=serialization.d.ts.map