import { CSSProperties, ReactElement } from 'react';
import { IAceEditorProps } from 'react-ace';

export type AceEditorMysqlProps = Omit<IAceEditorProps, "theme" | "mode" | "value" | "onChange"> & {
	/** 编辑器高度，默认值：100%，可输入值例如 300px、100% */
	height?: string;
	value?: string;
	onChange?: (value?: string) => void;
	/** 配置输入自动提示关键字 */
	autoCompleterList?: {
		name: string;
		desc?: string;
	}[];
	/** 隐藏【美化】按钮 */
	hiddenFormatterBtn?: boolean;
	/**
	 * 编辑器主题配置，例如：github、terminal、xcode
	 * ```
	 * 1. 顶部引入 import 'ace-builds/src-noconflict/theme-xxxx';
	 * 2. 配置 theme = xxxx
	 * ```
	 */
	theme?: string;
	/** 底部额外布局 */
	footerExtraRender?: (children: ReactElement) => ReactElement;
	footerStyle?: CSSProperties;
};
export declare const AceEditorMysql: (props: AceEditorMysqlProps) => import("react").JSX.Element;

export {};
