/** * xss输入校验 * @param input * @returns true通过 false不通过 */ export declare const xssCheck: (input: string) => boolean; /** * 过滤掉指定的内容 * @param input 输入字符串 * @param regExp 正则 * @returns 过滤后的字符串 */ export declare const replaceFilter: (input: string, regExp: RegExp) => string; /** * 公用校验器 * @param input 输入 * @param validator 校验正则对象 * @returns true通过 false不通过 */ export declare const commonValidate: (input: string, validator: RegExp) => boolean;