import * as React from "react"; import { IElement } from "./basic"; declare type Props = IElement & { code?: string; onChanged?: (code: string) => void; }; export declare class CodeEditor extends React.Component { readonly editor: React.RefObject; constructor(props: Props); get code(): string; render(): JSX.Element; notifyChanged: () => void; } export {};