//#region src/functions/constantCase/constantCase.d.ts /** * Changes the casing of a string to constant case. * @param string The input string to change the casing of. * @returns A new string with the casing changed to constant case. * @example * ```ts * constantCase('fooBar') // 'FOO_BAR' * constantCase('foo bar') // 'FOO_BAR' * constantCase('foo-bar') // 'FOO_BAR' * constantCase('fooBar42') // 'FOO_BAR42' * ``` */ declare function constantCase(string: S): ConstantCase; /** * Changes the casing of a string to constant case. * @see {@link constantCase}. */ type ConstantCase = Uppercase ? `_${Lowercase}` : S1}${ConstantCase}` : S>; //#endregion export { constantCase as n, ConstantCase as t }; //# sourceMappingURL=constantCase-BMaCP1dc.d.ts.map