/** * Converts a given string to kebab-case. * * Kebab-case is a lowercase string with words separated by hyphens. * This function: * - trims whitespace, * - converts camelCase or PascalCase to kebab-case, * - removes invalid characters, * - replaces spaces and underscores with hyphens, * - collapses multiple hyphens into one, * - and trims leading or trailing hyphens. * * @param text The input string to convert. * @returns The kebab-case version of the string, or an empty string if input is falsy. * * @example * toKebabCase('HelloWorld') // 'hello-world' * toKebabCase('some_text Here') // 'some-text-here' */ export declare function toKebabCase(text: string): string; //# sourceMappingURL=to-kebab-case.d.ts.map