import { WidenNonLiteral } from "../_internal/types.mjs"; import { ConstantCase } from "../node_modules/.pnpm/string-ts@2.3.1/node_modules/string-ts/dist/index.mjs"; //#region src/string/to-constant-case.d.ts /** * Converts a string to **CONSTANT_CASE** (`'fooBar'` → `'FOO_BAR'`). A string * literal is typed as the exact constant-cased literal; a non-literal `string` * returns `string`. * @param value - The string to convert. * @returns The constant-cased string. * @example * toConstantCase('fooBar'); * // 'FOO_BAR' * @example * toConstantCase('XMLHttpRequest'); * // 'XML_HTTP_REQUEST' */ declare const toConstantCase: (value: S) => WidenNonLiteral>; //#endregion export { toConstantCase };