import type { StringEnumLike } from './mapped-types'; export declare namespace Strings { /** * 将string转换成字符枚举, 转换失败返回undefined * @see {@link import('./vue-utils.ts').stringEnumProp} 由于使用了Object.values(enumObject), 应该避免在enumObject上添加其他属性/方法 * @deprecated 使用{@link import('./mapped-types.ts').unwrapStringEnumValue}替代 */ function toEnumOrNull(value: string | undefined, enumObject: E): E[keyof E] | undefined; function trimIndent(str: string): string; /** 转换: `FuckYou` -> `fuck-you` */ function pascal2kebab(str: string): string; /** * 简单判断字符串是否表示一个整数 * - `10` : ✅️ * - `-10`: ✅️ * - `+10`: ❌️ * - `2e2`: ❌️ * @see https://stackoverflow.com/questions/175739/how-can-i-check-if-a-string-is-a-valid-number * */ function isInt(str: string): boolean; } //# sourceMappingURL=strings.d.ts.map