/** * Converts a string to kebab-case. * * Replaces spaces, underscores, camelCase transitions, and other separators with dashes. * It also preserves version tokens like "v2" and lowercases the result. * * @example * ```ts * toKebabCase("hello world"); // "hello-world" * ``` * * @example * ```ts * toKebabCase("first_name"); // "first-name" * ``` * * @example * ```ts * toKebabCase("userProfile42"); // "user-profile-42" * ``` * * @example * ```ts * toKebabCase("APIResponseV2"); // "api-response-v2" * ``` * * @example * ```ts * toKebabCase("HTML5_Parser v3"); // "html-5-parser-v3" * ``` * * @example * ```ts * toKebabCase(" Leading_and trailing "); // "leading-and-trailing" * ``` * * @param input A string to be converted to kebab-case. * @returns The kebab-cased version of the input string. */ export declare function toKebabCase(input: string): string;