declare function transferReg(str: string): string; declare function getRegGroups(str: string): number; declare function getRegCapture(str: string): string; declare function getRegUnion(regexps: string[]): string; declare function getReg(input: string | Record): string; declare function getRulesByObject(object: Record): any[]; declare function getRulesByArray(array: any[]): any[]; declare function getRuleOptions(type: any, obj: any): Record; declare function getRules(spec: any): any[]; declare const ruleUtils: { checkObject: (input: any) => boolean; checkRegExp: (input: any) => boolean; transferReg: typeof transferReg; checkSticky: () => boolean; getRegGroups: typeof getRegGroups; getRegCapture: typeof getRegCapture; getRegUnion: typeof getRegUnion; getReg: typeof getReg; getRulesByObject: typeof getRulesByObject; getRulesByArray: typeof getRulesByArray; getRuleOptions: typeof getRuleOptions; getRules: typeof getRules; }; export default ruleUtils;