export interface CodeMirrorProps {
	name: string;
	value: string;
	autoFocus?: boolean;
	/**
	 * (width: number|string, height: number|string)
	 */
	size?: [
		null | number,
		null | number
	];
	className?: string;
	defaultValue?: string;
	onChange?: (value: string, change: EditorChangeLinkedList) => void;
	onScroll?: (info: ScrollInfo) => void;
	options?: Record<string, any>;
}
export declare const CodeMirror: (props: CodeMirrorProps) => JSX.Element;

export {};
