import { ObjectType } from '../common/type'; /** * * 输入 substitute('请输入至少{min}个字符', {min: 50}) * 输出 请输入至少50个字符 */ export declare function substitute(str: string | ((val: T) => string), obj: T): string; /** * * 输入 'https://github.com/' * 输出 '//github.com/' */ export declare function removeProtocol(url: string): string; export declare function escapeRegExp(str?: any): any; //# sourceMappingURL=string.d.ts.map