/** * Changes the casing of a string to constant case. * e.g. `"fooBar"` -> `"FOO_BAR"` or `"foo bar"` -> `"FOO_BAR"` or `"foo-bar"` -> `"FOO_BAR"` */ declare function constantCase(string: S): ConstantCase; type ConstantCase = Uppercase ? `_${Lowercase}` : S1}${ConstantCase}` : S>; export { ConstantCase as C, constantCase as c };