import { fromSignedOperationRaw, toSignedOperationRaw } from "../transaction";
export { serializeAccount as serializePlatformAccount, deserializeAccount as deserializePlatformAccount, serializeTransaction as serializePlatformTransaction, deserializeTransaction as deserializePlatformTransaction, } from "@ledgerhq/live-app-sdk";
// FIXME: can't use SDK implementations here because SDK don't know how to properly serialize / deserialize Operation object
export function serializePlatformSignedTransaction(signedTransaction) {
    return toSignedOperationRaw(signedTransaction, true);
}
export function deserializePlatformSignedTransaction(rawSignedTransaction, accountId) {
    return fromSignedOperationRaw(rawSignedTransaction, accountId);
}
//# sourceMappingURL=serializers.js.map