declare const brand: unique symbol; type Branded = T & { [brand]: B }; export type ShortId = Branded; export const asShortId = (value: string): ShortId => value as ShortId;