FromHexParameters

type FromHexParameters<
TTo extends "string" | "bigint" | "number" | "bytes" | "boolean",
> = TTo | { size?: number; to: TTo };