/** * 驼峰命名转横线命名 * @param str * @returns */ declare function hyphenate(str: string, flag?: string): string; export default hyphenate;