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