import type { ErrorType } from '../errors/utils.js' import type { Hex } from '../types/data.js' export type SerializeLabelhashErrorType = ErrorType export function serializeLabelHash(hash: Hex): `[${string}]` { return `[${hash.slice(2)}]` }