/** * RegexEditor 组件 * * @description * CodeMirror 6 包装器组件,集成正则表达式验证和错误标注功能。 * 提供实时语法验证、错误高亮、复杂度分析等功能。 * * @module RegexEditor/core/RegexEditor * * @example * ```tsx * { * if (!result.valid) { * console.error('验证失败:', result.errors); * } * }} * /> * ``` */ import React from 'react'; import type { RegexEditorProps } from './types'; import './RegexEditor.less'; /** * RegexEditor 组件 * * @param props - 组件属性 * @returns React 组件 */ export declare const RegexEditor: React.FC;