import { Deserializer } from '../bcs/deserializer.mjs'; import { Serializable } from '../bcs/serializer.mjs'; import '../types/index.mjs'; import './apiEndpoints.mjs'; import '../types/indexer.mjs'; import '../core/hex.mjs'; import '../core/common.mjs'; type DeserializableClass = { deserialize(deserializer: Deserializer): T; }; /** * Utility function that serializes and deserialize an object back into the same bundle as the sdk. * This is a workaround to have the `instanceof` operator work when input objects come from a different * bundle. * @param cls The class of the object to normalize * @param value the instance to normalize */ declare function normalizeBundle(cls: DeserializableClass, value: T): T; export { type DeserializableClass, normalizeBundle };