import { Cursor } from '../deserializationHelpers.js'; import { Upward } from '../grpc/upward.js'; import { BlockItem } from '../types.js'; export declare function deserializeCredentialDeployment(serializedDeployment: Cursor): { credential: any; expiry: any; }; /** * @deprecated use {@linkcode deserializeBlockItem} instead. * * Deserializes a transaction, from the binary format used to send it to the node, back into an js object. * * @param serializedTransaction A buffer containing the binary transaction. It is expected to start with the version and blockItemKind. * @returns An object specifiying the blockItemKind that the transaction has. The object also contains the actual transaction under the transaction field. **/ export declare function deserializeTransaction(serializedTransaction: ArrayBuffer): BlockItem; /** * Deserializes a transaction from the block item encoding used to send it to a node. * * @param buffer A buffer containing transaction encoding. It is expected to start the _block item kind_. * @returns a block item. **/ export declare function deserializeBlockItem(buffer: ArrayBuffer): Upward;