import { LabelHash } from '@ensnode/ensnode-sdk';
import { ByteArray } from 'viem';

/**
 * Converts a Labelhash to bytes, with validation
 * @param labelHash The Labelhash to convert
 * @returns A ByteArray containing the bytes
 * @throws Error if `labelHash` is not a valid 32-byte hex string
 */
declare function labelHashToBytes(labelHash: LabelHash): ByteArray;

export { labelHashToBytes };
