import type { z } from "zod"; /** * A type utility that removes the brand from T. * * If T extends string & z.$brand<"BigToto">, then zu.unbranded = T. * Otherwise, zu.unbranded = T. */ export type Unbranded = T extends z.$brand ? Omit> : T;