import type { Titlecase } from "#utils"; declare global { interface String { /** * Capitalize a string, transforming it's first character to a capital letter */ capitalize(this: S): Capitalize; /** * Compare this string (x) with the other string (y) by comparing each character's Unicode code point value. * This is the same comparison function that used by Array#sort if the compare function argument is omitted. * The result is host/locale-independent. * @param other - The other string to compare this string to. * @returns A negative Number if x \< y, a positive Number if x \> y, or a zero otherwise. */ compare(this: S, other: string): number; /** * Convert a string to Title Case where the first letter of each word is capitalized */ titleCase(this: S): Titlecase; /** * Strip any