import type { Ace } from 'ace-builds'; import React from 'react'; interface AceEditorWrapperProps { /** 代码内容 */ value: string; /** 语言类型 */ language?: string; /** 变更回调 */ onChange?: (value: string) => void; /** 是否只读 */ readonly?: boolean; /** 自定义样式 */ className?: string; /** 编辑器高度 */ height?: string | number; /** 编辑器配置选项 */ options?: Partial; } /** * AceEditor包装组件 * * 完全独立的AceEditor实现,不依赖其他组件 * 提供基础的代码编辑功能,支持语法高亮、只读模式等 */ export declare const AceEditorWrapper: React.FC; export default AceEditorWrapper;