import { Words } from "../node_modules/.pnpm/string-ts@2.3.1/node_modules/string-ts/dist/index.mjs"; //#region src/string/to-words.d.ts /** * Splits a string into its constituent **words** (`'fooBarBaz'` → * `['foo', 'Bar', 'Baz']`), breaking on case boundaries, separators, and digit * runs while preserving each word's original case. A string literal is typed as * the exact tuple of word literals; a non-literal `string` returns `string[]`. * @param value - The string to split. * @returns The tuple of words. * @example * toWords('fooBarBaz'); * // ['foo', 'Bar', 'Baz'] * @example * toWords('XMLHttpRequest'); * // ['XML', 'Http', 'Request'] */ declare const toWords: (value: S) => Words; //#endregion export { toWords };